@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateHostedConfigurationVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateHostedConfigurationVersionResult() |
Modifier and Type | Method and Description |
---|---|
CreateHostedConfigurationVersionResult |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The application ID.
|
String |
getConfigurationProfileId()
The configuration profile ID.
|
ByteBuffer |
getContent()
The content of the configuration or the configuration data.
|
String |
getContentType()
A standard MIME type describing the format of the configuration content.
|
String |
getDescription()
A description of the configuration.
|
String |
getKmsKeyArn()
The Amazon Resource Name of the Key Management Service key that was used to encrypt this specific version of the
configuration data in the AppConfig hosted configuration store.
|
String |
getVersionLabel()
A user-defined label for an AppConfig hosted configuration version.
|
Integer |
getVersionNumber()
The configuration version.
|
int |
hashCode() |
void |
setApplicationId(String applicationId)
The application ID.
|
void |
setConfigurationProfileId(String configurationProfileId)
The configuration profile ID.
|
void |
setContent(ByteBuffer content)
The content of the configuration or the configuration data.
|
void |
setContentType(String contentType)
A standard MIME type describing the format of the configuration content.
|
void |
setDescription(String description)
A description of the configuration.
|
void |
setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name of the Key Management Service key that was used to encrypt this specific version of the
configuration data in the AppConfig hosted configuration store.
|
void |
setVersionLabel(String versionLabel)
A user-defined label for an AppConfig hosted configuration version.
|
void |
setVersionNumber(Integer versionNumber)
The configuration version.
|
String |
toString()
Returns a string representation of this object.
|
CreateHostedConfigurationVersionResult |
withApplicationId(String applicationId)
The application ID.
|
CreateHostedConfigurationVersionResult |
withConfigurationProfileId(String configurationProfileId)
The configuration profile ID.
|
CreateHostedConfigurationVersionResult |
withContent(ByteBuffer content)
The content of the configuration or the configuration data.
|
CreateHostedConfigurationVersionResult |
withContentType(String contentType)
A standard MIME type describing the format of the configuration content.
|
CreateHostedConfigurationVersionResult |
withDescription(String description)
A description of the configuration.
|
CreateHostedConfigurationVersionResult |
withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name of the Key Management Service key that was used to encrypt this specific version of the
configuration data in the AppConfig hosted configuration store.
|
CreateHostedConfigurationVersionResult |
withVersionLabel(String versionLabel)
A user-defined label for an AppConfig hosted configuration version.
|
CreateHostedConfigurationVersionResult |
withVersionNumber(Integer versionNumber)
The configuration version.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public CreateHostedConfigurationVersionResult()
public void setApplicationId(String applicationId)
The application ID.
applicationId
- The application ID.public String getApplicationId()
The application ID.
public CreateHostedConfigurationVersionResult withApplicationId(String applicationId)
The application ID.
applicationId
- The application ID.public void setConfigurationProfileId(String configurationProfileId)
The configuration profile ID.
configurationProfileId
- The configuration profile ID.public String getConfigurationProfileId()
The configuration profile ID.
public CreateHostedConfigurationVersionResult withConfigurationProfileId(String configurationProfileId)
The configuration profile ID.
configurationProfileId
- The configuration profile ID.public void setVersionNumber(Integer versionNumber)
The configuration version.
versionNumber
- The configuration version.public Integer getVersionNumber()
The configuration version.
public CreateHostedConfigurationVersionResult withVersionNumber(Integer versionNumber)
The configuration version.
versionNumber
- The configuration version.public void setDescription(String description)
A description of the configuration.
description
- A description of the configuration.public String getDescription()
A description of the configuration.
public CreateHostedConfigurationVersionResult withDescription(String description)
A description of the configuration.
description
- A description of the configuration.public void setContent(ByteBuffer content)
The content of the configuration or the configuration data.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
content
- The content of the configuration or the configuration data.public ByteBuffer getContent()
The content of the configuration or the configuration data.
ByteBuffer
s are stateful. Calling their get
methods changes their position
. We recommend
using ByteBuffer.asReadOnlyBuffer()
to create a read-only view of the buffer with an independent
position
, and calling get
methods on this rather than directly on the returned ByteBuffer
.
Doing so will ensure that anyone else using the ByteBuffer
will not be affected by changes to the
position
.
public CreateHostedConfigurationVersionResult withContent(ByteBuffer content)
The content of the configuration or the configuration data.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
content
- The content of the configuration or the configuration data.public void setContentType(String contentType)
A standard MIME type describing the format of the configuration content. For more information, see Content-Type.
contentType
- A standard MIME type describing the format of the configuration content. For more information, see Content-Type.public String getContentType()
A standard MIME type describing the format of the configuration content. For more information, see Content-Type.
public CreateHostedConfigurationVersionResult withContentType(String contentType)
A standard MIME type describing the format of the configuration content. For more information, see Content-Type.
contentType
- A standard MIME type describing the format of the configuration content. For more information, see Content-Type.public void setVersionLabel(String versionLabel)
A user-defined label for an AppConfig hosted configuration version.
versionLabel
- A user-defined label for an AppConfig hosted configuration version.public String getVersionLabel()
A user-defined label for an AppConfig hosted configuration version.
public CreateHostedConfigurationVersionResult withVersionLabel(String versionLabel)
A user-defined label for an AppConfig hosted configuration version.
versionLabel
- A user-defined label for an AppConfig hosted configuration version.public void setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name of the Key Management Service key that was used to encrypt this specific version of the configuration data in the AppConfig hosted configuration store.
kmsKeyArn
- The Amazon Resource Name of the Key Management Service key that was used to encrypt this specific version
of the configuration data in the AppConfig hosted configuration store.public String getKmsKeyArn()
The Amazon Resource Name of the Key Management Service key that was used to encrypt this specific version of the configuration data in the AppConfig hosted configuration store.
public CreateHostedConfigurationVersionResult withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name of the Key Management Service key that was used to encrypt this specific version of the configuration data in the AppConfig hosted configuration store.
kmsKeyArn
- The Amazon Resource Name of the Key Management Service key that was used to encrypt this specific version
of the configuration data in the AppConfig hosted configuration store.public String toString()
toString
in class Object
Object.toString()
public CreateHostedConfigurationVersionResult clone()