@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutAppInstanceRetentionSettingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutAppInstanceRetentionSettingsRequest() |
Modifier and Type | Method and Description |
---|---|
PutAppInstanceRetentionSettingsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAppInstanceArn()
The ARN of the
AppInstance . |
AppInstanceRetentionSettings |
getAppInstanceRetentionSettings()
The time in days to retain data.
|
int |
hashCode() |
void |
setAppInstanceArn(String appInstanceArn)
The ARN of the
AppInstance . |
void |
setAppInstanceRetentionSettings(AppInstanceRetentionSettings appInstanceRetentionSettings)
The time in days to retain data.
|
String |
toString()
Returns a string representation of this object.
|
PutAppInstanceRetentionSettingsRequest |
withAppInstanceArn(String appInstanceArn)
The ARN of the
AppInstance . |
PutAppInstanceRetentionSettingsRequest |
withAppInstanceRetentionSettings(AppInstanceRetentionSettings appInstanceRetentionSettings)
The time in days to retain data.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public PutAppInstanceRetentionSettingsRequest()
public void setAppInstanceArn(String appInstanceArn)
The ARN of the AppInstance
.
appInstanceArn
- The ARN of the AppInstance
.public String getAppInstanceArn()
The ARN of the AppInstance
.
AppInstance
.public PutAppInstanceRetentionSettingsRequest withAppInstanceArn(String appInstanceArn)
The ARN of the AppInstance
.
appInstanceArn
- The ARN of the AppInstance
.public void setAppInstanceRetentionSettings(AppInstanceRetentionSettings appInstanceRetentionSettings)
The time in days to retain data. Data type: number.
appInstanceRetentionSettings
- The time in days to retain data. Data type: number.public AppInstanceRetentionSettings getAppInstanceRetentionSettings()
The time in days to retain data. Data type: number.
public PutAppInstanceRetentionSettingsRequest withAppInstanceRetentionSettings(AppInstanceRetentionSettings appInstanceRetentionSettings)
The time in days to retain data. Data type: number.
appInstanceRetentionSettings
- The time in days to retain data. Data type: number.public String toString()
toString
in class Object
Object.toString()
public PutAppInstanceRetentionSettingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()