@Generated(value="OracleSDKGenerator", comments="API Version: 20181116") public final class PolicyConfig extends Object
The configuration details for the WAAS policy.
Note: Objects should always be created or deserialized using the PolicyConfig.Builder
. This model distinguishes fields that are null
because they are unset from fields that are explicitly set to null
. This is done in the setter methods of the PolicyConfig.Builder
, which maintain a set of all explicitly set fields called __explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take __explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
PolicyConfig.Builder |
Constructor and Description |
---|
PolicyConfig(String certificateId,
Boolean isHttpsEnabled,
Boolean isHttpsForced)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static PolicyConfig.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCertificateId()
The OCID of the SSL certificate to use if HTTPS is supported.
|
Boolean |
getIsHttpsEnabled()
Enable or disable HTTPS support.
|
Boolean |
getIsHttpsForced()
Force HTTP to HTTPS redirection.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"certificateId","isHttpsEnabled","isHttpsForced"}) @Deprecated public PolicyConfig(String certificateId, Boolean isHttpsEnabled, Boolean isHttpsForced)
public static PolicyConfig.Builder builder()
Create a new builder.
public String getCertificateId()
The OCID of the SSL certificate to use if HTTPS is supported.
public Boolean getIsHttpsEnabled()
Enable or disable HTTPS support. If true, a certificateId
is required. If unspecified, defaults to false
.
public Boolean getIsHttpsForced()
Force HTTP to HTTPS redirection. If unspecified, defaults to false
.
Copyright © 2016–2019. All rights reserved.