@Generated(value="OracleSDKGenerator", comments="API Version: v1") public final class SettingsCloudGateCorsSettings extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A complex attribute that specifies the Cloud Gate cross origin resource sharing settings.
*Added In:** 2011192329
*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false -
mutability: readWrite - required: false - returned: default - type: complex - uniqueness: none
Note: Objects should always be created or deserialized using the SettingsCloudGateCorsSettings.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 SettingsCloudGateCorsSettings.Builder
, which maintain a
set of all explicitly set fields called SettingsCloudGateCorsSettings.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
SettingsCloudGateCorsSettings.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
SettingsCloudGateCorsSettings(Boolean cloudGateCorsAllowNullOrigin,
Boolean cloudGateCorsEnabled,
List<String> cloudGateCorsAllowedOrigins,
Integer cloudGateCorsMaxAge,
List<String> cloudGateCorsExposedHeaders)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SettingsCloudGateCorsSettings.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<String> |
getCloudGateCorsAllowedOrigins()
Cloud Gate Allowed Cross-Origin Resource Sharing (CORS) Origins for this tenant.
|
Boolean |
getCloudGateCorsAllowNullOrigin()
Allow Null Origin (CORS) for this tenant.
|
Boolean |
getCloudGateCorsEnabled()
Enable Cloud Gate Cross-Origin Resource Sharing (CORS) for this tenant.
|
List<String> |
getCloudGateCorsExposedHeaders()
List of Response Headers Cloud Gate is allowed to expose in the CORS Response Header:
Access-Control-Expose-Headers.
|
Integer |
getCloudGateCorsMaxAge()
Maximum number of seconds a CORS Pre-flight Response may be cached by client.
|
int |
hashCode() |
SettingsCloudGateCorsSettings.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"cloudGateCorsAllowNullOrigin","cloudGateCorsEnabled","cloudGateCorsAllowedOrigins","cloudGateCorsMaxAge","cloudGateCorsExposedHeaders"}) public SettingsCloudGateCorsSettings(Boolean cloudGateCorsAllowNullOrigin, Boolean cloudGateCorsEnabled, List<String> cloudGateCorsAllowedOrigins, Integer cloudGateCorsMaxAge, List<String> cloudGateCorsExposedHeaders)
public static SettingsCloudGateCorsSettings.Builder builder()
Create a new builder.
public SettingsCloudGateCorsSettings.Builder toBuilder()
public Boolean getCloudGateCorsAllowNullOrigin()
Allow Null Origin (CORS) for this tenant.
*Added In:** 2011192329
*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: none
public Boolean getCloudGateCorsEnabled()
Enable Cloud Gate Cross-Origin Resource Sharing (CORS) for this tenant.
*Added In:** 2011192329
*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: none
public List<String> getCloudGateCorsAllowedOrigins()
Cloud Gate Allowed Cross-Origin Resource Sharing (CORS) Origins for this tenant.
*Added In:** 2011192329
*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none
public Integer getCloudGateCorsMaxAge()
Maximum number of seconds a CORS Pre-flight Response may be cached by client.
*Added In:** 2205182039
*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: integer - uniqueness: none
public List<String> getCloudGateCorsExposedHeaders()
List of Response Headers Cloud Gate is allowed to expose in the CORS Response Header: Access-Control-Expose-Headers.
*Added In:** 2205182039
*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.