@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetApplicationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetApplicationResult() |
Modifier and Type | Method and Description |
---|---|
GetApplicationResult |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationArn()
The Amazon Resource Name (ARN) of the Amazon Q application.
|
String |
getApplicationId()
The identifier of the Amazon Q application.
|
AppliedAttachmentsConfiguration |
getAttachmentsConfiguration()
Settings for whether end users can upload files directly during chat.
|
Date |
getCreatedAt()
The Unix timestamp when the Amazon Q application was last updated.
|
String |
getDescription()
A description for the Amazon Q application.
|
String |
getDisplayName()
The name of the Amazon Q application.
|
EncryptionConfiguration |
getEncryptionConfiguration()
The identifier of the Amazon Web Services KMS key that is used to encrypt your data.
|
ErrorDetail |
getError()
If the
Status field is set to ERROR , the ErrorMessage field contains a
description of the error that caused the synchronization to fail. |
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM with permissions to access your CloudWatch logs and metrics.
|
String |
getStatus()
The status of the Amazon Q application.
|
Date |
getUpdatedAt()
The Unix timestamp when the Amazon Q application was last updated.
|
int |
hashCode() |
void |
setApplicationArn(String applicationArn)
The Amazon Resource Name (ARN) of the Amazon Q application.
|
void |
setApplicationId(String applicationId)
The identifier of the Amazon Q application.
|
void |
setAttachmentsConfiguration(AppliedAttachmentsConfiguration attachmentsConfiguration)
Settings for whether end users can upload files directly during chat.
|
void |
setCreatedAt(Date createdAt)
The Unix timestamp when the Amazon Q application was last updated.
|
void |
setDescription(String description)
A description for the Amazon Q application.
|
void |
setDisplayName(String displayName)
The name of the Amazon Q application.
|
void |
setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The identifier of the Amazon Web Services KMS key that is used to encrypt your data.
|
void |
setError(ErrorDetail error)
If the
Status field is set to ERROR , the ErrorMessage field contains a
description of the error that caused the synchronization to fail. |
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM with permissions to access your CloudWatch logs and metrics.
|
void |
setStatus(String status)
The status of the Amazon Q application.
|
void |
setUpdatedAt(Date updatedAt)
The Unix timestamp when the Amazon Q application was last updated.
|
String |
toString()
Returns a string representation of this object.
|
GetApplicationResult |
withApplicationArn(String applicationArn)
The Amazon Resource Name (ARN) of the Amazon Q application.
|
GetApplicationResult |
withApplicationId(String applicationId)
The identifier of the Amazon Q application.
|
GetApplicationResult |
withAttachmentsConfiguration(AppliedAttachmentsConfiguration attachmentsConfiguration)
Settings for whether end users can upload files directly during chat.
|
GetApplicationResult |
withCreatedAt(Date createdAt)
The Unix timestamp when the Amazon Q application was last updated.
|
GetApplicationResult |
withDescription(String description)
A description for the Amazon Q application.
|
GetApplicationResult |
withDisplayName(String displayName)
The name of the Amazon Q application.
|
GetApplicationResult |
withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The identifier of the Amazon Web Services KMS key that is used to encrypt your data.
|
GetApplicationResult |
withError(ErrorDetail error)
If the
Status field is set to ERROR , the ErrorMessage field contains a
description of the error that caused the synchronization to fail. |
GetApplicationResult |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM with permissions to access your CloudWatch logs and metrics.
|
GetApplicationResult |
withStatus(ApplicationStatus status)
The status of the Amazon Q application.
|
GetApplicationResult |
withStatus(String status)
The status of the Amazon Q application.
|
GetApplicationResult |
withUpdatedAt(Date updatedAt)
The Unix timestamp when the Amazon Q application was last updated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setApplicationArn(String applicationArn)
The Amazon Resource Name (ARN) of the Amazon Q application.
applicationArn
- The Amazon Resource Name (ARN) of the Amazon Q application.public String getApplicationArn()
The Amazon Resource Name (ARN) of the Amazon Q application.
public GetApplicationResult withApplicationArn(String applicationArn)
The Amazon Resource Name (ARN) of the Amazon Q application.
applicationArn
- The Amazon Resource Name (ARN) of the Amazon Q application.public void setApplicationId(String applicationId)
The identifier of the Amazon Q application.
applicationId
- The identifier of the Amazon Q application.public String getApplicationId()
The identifier of the Amazon Q application.
public GetApplicationResult withApplicationId(String applicationId)
The identifier of the Amazon Q application.
applicationId
- The identifier of the Amazon Q application.public void setAttachmentsConfiguration(AppliedAttachmentsConfiguration attachmentsConfiguration)
Settings for whether end users can upload files directly during chat.
attachmentsConfiguration
- Settings for whether end users can upload files directly during chat.public AppliedAttachmentsConfiguration getAttachmentsConfiguration()
Settings for whether end users can upload files directly during chat.
public GetApplicationResult withAttachmentsConfiguration(AppliedAttachmentsConfiguration attachmentsConfiguration)
Settings for whether end users can upload files directly during chat.
attachmentsConfiguration
- Settings for whether end users can upload files directly during chat.public void setCreatedAt(Date createdAt)
The Unix timestamp when the Amazon Q application was last updated.
createdAt
- The Unix timestamp when the Amazon Q application was last updated.public Date getCreatedAt()
The Unix timestamp when the Amazon Q application was last updated.
public GetApplicationResult withCreatedAt(Date createdAt)
The Unix timestamp when the Amazon Q application was last updated.
createdAt
- The Unix timestamp when the Amazon Q application was last updated.public void setDescription(String description)
A description for the Amazon Q application.
description
- A description for the Amazon Q application.public String getDescription()
A description for the Amazon Q application.
public GetApplicationResult withDescription(String description)
A description for the Amazon Q application.
description
- A description for the Amazon Q application.public void setDisplayName(String displayName)
The name of the Amazon Q application.
displayName
- The name of the Amazon Q application.public String getDisplayName()
The name of the Amazon Q application.
public GetApplicationResult withDisplayName(String displayName)
The name of the Amazon Q application.
displayName
- The name of the Amazon Q application.public void setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The identifier of the Amazon Web Services KMS key that is used to encrypt your data. Amazon Q doesn't support asymmetric keys.
encryptionConfiguration
- The identifier of the Amazon Web Services KMS key that is used to encrypt your data. Amazon Q doesn't
support asymmetric keys.public EncryptionConfiguration getEncryptionConfiguration()
The identifier of the Amazon Web Services KMS key that is used to encrypt your data. Amazon Q doesn't support asymmetric keys.
public GetApplicationResult withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The identifier of the Amazon Web Services KMS key that is used to encrypt your data. Amazon Q doesn't support asymmetric keys.
encryptionConfiguration
- The identifier of the Amazon Web Services KMS key that is used to encrypt your data. Amazon Q doesn't
support asymmetric keys.public void setError(ErrorDetail error)
If the Status
field is set to ERROR
, the ErrorMessage
field contains a
description of the error that caused the synchronization to fail.
error
- If the Status
field is set to ERROR
, the ErrorMessage
field
contains a description of the error that caused the synchronization to fail.public ErrorDetail getError()
If the Status
field is set to ERROR
, the ErrorMessage
field contains a
description of the error that caused the synchronization to fail.
Status
field is set to ERROR
, the ErrorMessage
field
contains a description of the error that caused the synchronization to fail.public GetApplicationResult withError(ErrorDetail error)
If the Status
field is set to ERROR
, the ErrorMessage
field contains a
description of the error that caused the synchronization to fail.
error
- If the Status
field is set to ERROR
, the ErrorMessage
field
contains a description of the error that caused the synchronization to fail.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM with permissions to access your CloudWatch logs and metrics.
roleArn
- The Amazon Resource Name (ARN) of the IAM with permissions to access your CloudWatch logs and metrics.public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM with permissions to access your CloudWatch logs and metrics.
public GetApplicationResult withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM with permissions to access your CloudWatch logs and metrics.
roleArn
- The Amazon Resource Name (ARN) of the IAM with permissions to access your CloudWatch logs and metrics.public void setStatus(String status)
The status of the Amazon Q application.
status
- The status of the Amazon Q application.ApplicationStatus
public String getStatus()
The status of the Amazon Q application.
ApplicationStatus
public GetApplicationResult withStatus(String status)
The status of the Amazon Q application.
status
- The status of the Amazon Q application.ApplicationStatus
public GetApplicationResult withStatus(ApplicationStatus status)
The status of the Amazon Q application.
status
- The status of the Amazon Q application.ApplicationStatus
public void setUpdatedAt(Date updatedAt)
The Unix timestamp when the Amazon Q application was last updated.
updatedAt
- The Unix timestamp when the Amazon Q application was last updated.public Date getUpdatedAt()
The Unix timestamp when the Amazon Q application was last updated.
public GetApplicationResult withUpdatedAt(Date updatedAt)
The Unix timestamp when the Amazon Q application was last updated.
updatedAt
- The Unix timestamp when the Amazon Q application was last updated.public String toString()
toString
in class Object
Object.toString()
public GetApplicationResult clone()