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 Classes Modifier and Type Class Description static interfacePutBucketNotificationConfigurationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbucket()The name of the bucket.static PutBucketNotificationConfigurationRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexpectedBucketOwner()The account ID of the expected bucket owner.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()NotificationConfigurationnotificationConfiguration()Returns the value of the NotificationConfiguration property for this object.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PutBucketNotificationConfigurationRequest.Builder>serializableBuilderClass()BooleanskipDestinationValidation()Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations.PutBucketNotificationConfigurationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
bucket
public final String bucket()
The name of the bucket.
- Returns:
- The name of the bucket.
-
notificationConfiguration
public final NotificationConfiguration notificationConfiguration()
Returns the value of the NotificationConfiguration property for this object.- Returns:
- The value of the NotificationConfiguration property for this object.
-
expectedBucketOwner
public final String 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
public final Boolean 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
public PutBucketNotificationConfigurationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PutBucketNotificationConfigurationRequest.Builder,PutBucketNotificationConfigurationRequest>- Specified by:
toBuilderin classS3Request
-
builder
public static PutBucketNotificationConfigurationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutBucketNotificationConfigurationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-