Class PutBucketAnalyticsConfigurationRequest
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.PutBucketAnalyticsConfigurationRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PutBucketAnalyticsConfigurationRequest.Builder,PutBucketAnalyticsConfigurationRequest>
@Generated("software.amazon.awssdk:codegen")
public final class PutBucketAnalyticsConfigurationRequest
extends S3Request
implements ToCopyableBuilder<PutBucketAnalyticsConfigurationRequest.Builder,PutBucketAnalyticsConfigurationRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AnalyticsConfigurationThe configuration and any analyses for the analytics filter.final Stringbucket()The name of the bucket to which an analytics configuration is stored.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()final Stringid()The ID that identifies the analytics configuration.static Class<? extends PutBucketAnalyticsConfigurationRequest.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 name of the bucket to which an analytics configuration is stored.
- Returns:
- The name of the bucket to which an analytics configuration is stored.
-
id
The ID that identifies the analytics configuration.
- Returns:
- The ID that identifies the analytics configuration.
-
analyticsConfiguration
The configuration and any analyses for the analytics filter.
- Returns:
- The configuration and any analyses for the analytics filter.
-
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<PutBucketAnalyticsConfigurationRequest.Builder,PutBucketAnalyticsConfigurationRequest> - Specified by:
toBuilderin classS3Request
-
builder
-
serializableBuilderClass
public static Class<? extends PutBucketAnalyticsConfigurationRequest.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
-