@Generated(value="OracleSDKGenerator", comments="API Version: 20190331") public final class CreateVanityUrlDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Input payload to create a vanity url.
Note: Objects should always be created or deserialized using the CreateVanityUrlDetails.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 CreateVanityUrlDetails.Builder
, which maintain a
set of all explicitly set fields called CreateVanityUrlDetails.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 |
CreateVanityUrlDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateVanityUrlDetails(String description,
List<String> hosts,
String passphrase,
String privateKey,
String publicCertificate,
String caCertificate)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateVanityUrlDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCaCertificate()
PEM CA certificate(s) for HTTPS connections.
|
String |
getDescription()
Optional description.
|
List<String> |
getHosts()
List of fully qualified hostnames supported by this vanity URL definition (max of 3).
|
String |
getPassphrase()
Passphrase for the PEM Private key (if any).
|
String |
getPrivateKey()
PEM Private key for HTTPS connections.
|
String |
getPublicCertificate()
PEM certificate for HTTPS connections.
|
int |
hashCode() |
CreateVanityUrlDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"description","hosts","passphrase","privateKey","publicCertificate","caCertificate"}) public CreateVanityUrlDetails(String description, List<String> hosts, String passphrase, String privateKey, String publicCertificate, String caCertificate)
public static CreateVanityUrlDetails.Builder builder()
Create a new builder.
public CreateVanityUrlDetails.Builder toBuilder()
public String getDescription()
Optional description.
public List<String> getHosts()
List of fully qualified hostnames supported by this vanity URL definition (max of 3).
public String getPassphrase()
Passphrase for the PEM Private key (if any).
public String getPrivateKey()
PEM Private key for HTTPS connections.
public String getPublicCertificate()
PEM certificate for HTTPS connections.
public String getCaCertificate()
PEM CA certificate(s) for HTTPS connections. This may include multiple PEM certificates.
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.