Class UpdateAcceleratorAttributesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.globalaccelerator.model.GlobalAcceleratorRequest
-
- software.amazon.awssdk.services.globalaccelerator.model.UpdateAcceleratorAttributesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateAcceleratorAttributesRequest.Builder,UpdateAcceleratorAttributesRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateAcceleratorAttributesRequest extends GlobalAcceleratorRequest implements ToCopyableBuilder<UpdateAcceleratorAttributesRequest.Builder,UpdateAcceleratorAttributesRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateAcceleratorAttributesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringacceleratorArn()The Amazon Resource Name (ARN) of the accelerator that you want to update.static UpdateAcceleratorAttributesRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)BooleanflowLogsEnabled()Update whether flow logs are enabled.StringflowLogsS3Bucket()The name of the Amazon S3 bucket for the flow logs.StringflowLogsS3Prefix()Update the prefix for the location in the Amazon S3 bucket for the flow logs.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends UpdateAcceleratorAttributesRequest.Builder>serializableBuilderClass()UpdateAcceleratorAttributesRequest.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
-
acceleratorArn
public final String acceleratorArn()
The Amazon Resource Name (ARN) of the accelerator that you want to update.
- Returns:
- The Amazon Resource Name (ARN) of the accelerator that you want to update.
-
flowLogsEnabled
public final Boolean flowLogsEnabled()
Update whether flow logs are enabled. The default value is false. If the value is true,
FlowLogsS3BucketandFlowLogsS3Prefixmust be specified.For more information, see Flow Logs in the Global Accelerator Developer Guide.
- Returns:
- Update whether flow logs are enabled. The default value is false. If the value is true,
FlowLogsS3BucketandFlowLogsS3Prefixmust be specified.For more information, see Flow Logs in the Global Accelerator Developer Guide.
-
flowLogsS3Bucket
public final String flowLogsS3Bucket()
The name of the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabledistrue. The bucket must exist and have a bucket policy that grants Global Accelerator permission to write to the bucket.- Returns:
- The name of the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabledistrue. The bucket must exist and have a bucket policy that grants Global Accelerator permission to write to the bucket.
-
flowLogsS3Prefix
public final String flowLogsS3Prefix()
Update the prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabledistrue.If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:
s3-bucket_name//AWSLogs/aws_account_id
- Returns:
- Update the prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabledistrue.If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:
s3-bucket_name//AWSLogs/aws_account_id
-
toBuilder
public UpdateAcceleratorAttributesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateAcceleratorAttributesRequest.Builder,UpdateAcceleratorAttributesRequest>- Specified by:
toBuilderin classGlobalAcceleratorRequest
-
builder
public static UpdateAcceleratorAttributesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateAcceleratorAttributesRequest.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
-
-