Class GetBucketVersioningResponse
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetBucketVersioningResponse.Builder,GetBucketVersioningResponse>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final MFADeleteStatusSpecifies whether MFA delete is enabled in the bucket versioning configuration.final StringSpecifies whether MFA delete is enabled in the bucket versioning configuration.static Class<? extends GetBucketVersioningResponse.Builder>final BucketVersioningStatusstatus()The versioning state of the bucket.final StringThe versioning state of the bucket.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.services.s3.model.S3Response
responseMetadataMethods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponseMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
status
The versioning state of the bucket.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnBucketVersioningStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The versioning state of the bucket.
- See Also:
-
statusAsString
The versioning state of the bucket.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnBucketVersioningStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The versioning state of the bucket.
- See Also:
-
mfaDelete
Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.
If the service returns an enum value that is not available in the current SDK version,
mfaDeletewill returnMFADeleteStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommfaDeleteAsString().- Returns:
- Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.
- See Also:
-
mfaDeleteAsString
Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.
If the service returns an enum value that is not available in the current SDK version,
mfaDeletewill returnMFADeleteStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommfaDeleteAsString().- Returns:
- Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.
- See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetBucketVersioningResponse.Builder,GetBucketVersioningResponse> - Specified by:
toBuilderin classAwsResponse
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsResponse
-
equals
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-