@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutBucketVersioningRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutBucketVersioningRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutBucketVersioningRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account ID of the S3 on Outposts bucket.
|
String |
getBucket()
The S3 on Outposts bucket to set the versioning state for.
|
String |
getMFA()
The concatenation of the authentication device's serial number, a space, and the value that is displayed on your
authentication device.
|
VersioningConfiguration |
getVersioningConfiguration()
The root-level tag for the
VersioningConfiguration parameters. |
int |
hashCode() |
void |
setAccountId(String accountId)
The Amazon Web Services account ID of the S3 on Outposts bucket.
|
void |
setBucket(String bucket)
The S3 on Outposts bucket to set the versioning state for.
|
void |
setMFA(String mFA)
The concatenation of the authentication device's serial number, a space, and the value that is displayed on your
authentication device.
|
void |
setVersioningConfiguration(VersioningConfiguration versioningConfiguration)
The root-level tag for the
VersioningConfiguration parameters. |
String |
toString()
Returns a string representation of this object.
|
PutBucketVersioningRequest |
withAccountId(String accountId)
The Amazon Web Services account ID of the S3 on Outposts bucket.
|
PutBucketVersioningRequest |
withBucket(String bucket)
The S3 on Outposts bucket to set the versioning state for.
|
PutBucketVersioningRequest |
withMFA(String mFA)
The concatenation of the authentication device's serial number, a space, and the value that is displayed on your
authentication device.
|
PutBucketVersioningRequest |
withVersioningConfiguration(VersioningConfiguration versioningConfiguration)
The root-level tag for the
VersioningConfiguration parameters. |
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, withSdkRequestTimeoutpublic void setAccountId(String accountId)
The Amazon Web Services account ID of the S3 on Outposts bucket.
accountId - The Amazon Web Services account ID of the S3 on Outposts bucket.public String getAccountId()
The Amazon Web Services account ID of the S3 on Outposts bucket.
public PutBucketVersioningRequest withAccountId(String accountId)
The Amazon Web Services account ID of the S3 on Outposts bucket.
accountId - The Amazon Web Services account ID of the S3 on Outposts bucket.public void setBucket(String bucket)
The S3 on Outposts bucket to set the versioning state for.
bucket - The S3 on Outposts bucket to set the versioning state for.public String getBucket()
The S3 on Outposts bucket to set the versioning state for.
public PutBucketVersioningRequest withBucket(String bucket)
The S3 on Outposts bucket to set the versioning state for.
bucket - The S3 on Outposts bucket to set the versioning state for.public void setMFA(String mFA)
The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.
mFA - The concatenation of the authentication device's serial number, a space, and the value that is displayed
on your authentication device.public String getMFA()
The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.
public PutBucketVersioningRequest withMFA(String mFA)
The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.
mFA - The concatenation of the authentication device's serial number, a space, and the value that is displayed
on your authentication device.public void setVersioningConfiguration(VersioningConfiguration versioningConfiguration)
The root-level tag for the VersioningConfiguration parameters.
versioningConfiguration - The root-level tag for the VersioningConfiguration parameters.public VersioningConfiguration getVersioningConfiguration()
The root-level tag for the VersioningConfiguration parameters.
VersioningConfiguration parameters.public PutBucketVersioningRequest withVersioningConfiguration(VersioningConfiguration versioningConfiguration)
The root-level tag for the VersioningConfiguration parameters.
versioningConfiguration - The root-level tag for the VersioningConfiguration parameters.public String toString()
toString in class ObjectObject.toString()public PutBucketVersioningRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()