Class PutBucketNotificationConfigurationRequest
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.PutBucketNotificationConfigurationRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PutBucketNotificationConfigurationRequest.Builder,PutBucketNotificationConfigurationRequest>
@Generated("software.amazon.awssdk:codegen")
public final class PutBucketNotificationConfigurationRequest
extends S3Request
implements ToCopyableBuilder<PutBucketNotificationConfigurationRequest.Builder,PutBucketNotificationConfigurationRequest>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringbucket()The name of the bucket.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()Returns the value of the NotificationConfiguration property for this object.static Class<? extends PutBucketNotificationConfigurationRequest.Builder>final BooleanSkips validation of Amazon SQS, Amazon SNS, and Lambda destinations.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.
- Returns:
- The name of the bucket.
-
notificationConfiguration
Returns the value of the NotificationConfiguration property for this object.- Returns:
- The value of the NotificationConfiguration property for this object.
-
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).
-
skipDestinationValidation
Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or false value.
- Returns:
- Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or false value.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<PutBucketNotificationConfigurationRequest.Builder,PutBucketNotificationConfigurationRequest> - Specified by:
toBuilderin classS3Request
-
builder
-
serializableBuilderClass
public static Class<? extends PutBucketNotificationConfigurationRequest.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
-