Class GetBucketLoggingRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.s3.model.S3Request
software.amazon.awssdk.services.s3.model.GetBucketLoggingRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetBucketLoggingRequest.Builder,GetBucketLoggingRequest>
@Generated("software.amazon.awssdk:codegen")
public final class GetBucketLoggingRequest
extends S3Request
implements ToCopyableBuilder<GetBucketLoggingRequest.Builder,GetBucketLoggingRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringbucket()The bucket name for which to get the logging information.builder()final booleanfinal booleanequalsBySdkFields(Object obj) final StringThe account ID of the expected bucket owner.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends GetBucketLoggingRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods 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
-
bucket
The bucket name for which to get the logging information.
- Returns:
- The bucket name for which to get the logging information.
-
expectedBucketOwner
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code
403 Forbidden(access denied).- Returns:
- The account ID of the expected bucket owner. If the account ID that you provide does not match the actual
owner of the bucket, the request fails with the HTTP status code
403 Forbidden(access denied).
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetBucketLoggingRequest.Builder,GetBucketLoggingRequest> - Specified by:
toBuilderin classS3Request
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-