@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomRoutingAcceleratorAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Attributes of a custom routing accelerator.
Constructor and Description |
---|
CustomRoutingAcceleratorAttributes() |
Modifier and Type | Method and Description |
---|---|
CustomRoutingAcceleratorAttributes |
clone() |
boolean |
equals(Object obj) |
Boolean |
getFlowLogsEnabled()
Indicates whether flow logs are enabled.
|
String |
getFlowLogsS3Bucket()
The name of the Amazon S3 bucket for the flow logs.
|
String |
getFlowLogsS3Prefix()
The prefix for the location in the Amazon S3 bucket for the flow logs.
|
int |
hashCode() |
Boolean |
isFlowLogsEnabled()
Indicates whether flow logs are enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFlowLogsEnabled(Boolean flowLogsEnabled)
Indicates whether flow logs are enabled.
|
void |
setFlowLogsS3Bucket(String flowLogsS3Bucket)
The name of the Amazon S3 bucket for the flow logs.
|
void |
setFlowLogsS3Prefix(String flowLogsS3Prefix)
The prefix for the location in the Amazon S3 bucket for the flow logs.
|
String |
toString()
Returns a string representation of this object.
|
CustomRoutingAcceleratorAttributes |
withFlowLogsEnabled(Boolean flowLogsEnabled)
Indicates whether flow logs are enabled.
|
CustomRoutingAcceleratorAttributes |
withFlowLogsS3Bucket(String flowLogsS3Bucket)
The name of the Amazon S3 bucket for the flow logs.
|
CustomRoutingAcceleratorAttributes |
withFlowLogsS3Prefix(String flowLogsS3Prefix)
The prefix for the location in the Amazon S3 bucket for the flow logs.
|
public void setFlowLogsEnabled(Boolean flowLogsEnabled)
Indicates whether flow logs are enabled. The default value is false. If the value is true,
FlowLogsS3Bucket
and FlowLogsS3Prefix
must be specified.
For more information, see Flow logs in the Global Accelerator Developer Guide.
flowLogsEnabled
- Indicates whether flow logs are enabled. The default value is false. If the value is true,
FlowLogsS3Bucket
and FlowLogsS3Prefix
must be specified.
For more information, see Flow logs in the Global Accelerator Developer Guide.
public Boolean getFlowLogsEnabled()
Indicates whether flow logs are enabled. The default value is false. If the value is true,
FlowLogsS3Bucket
and FlowLogsS3Prefix
must be specified.
For more information, see Flow logs in the Global Accelerator Developer Guide.
FlowLogsS3Bucket
and FlowLogsS3Prefix
must be specified.
For more information, see Flow logs in the Global Accelerator Developer Guide.
public CustomRoutingAcceleratorAttributes withFlowLogsEnabled(Boolean flowLogsEnabled)
Indicates whether flow logs are enabled. The default value is false. If the value is true,
FlowLogsS3Bucket
and FlowLogsS3Prefix
must be specified.
For more information, see Flow logs in the Global Accelerator Developer Guide.
flowLogsEnabled
- Indicates whether flow logs are enabled. The default value is false. If the value is true,
FlowLogsS3Bucket
and FlowLogsS3Prefix
must be specified.
For more information, see Flow logs in the Global Accelerator Developer Guide.
public Boolean isFlowLogsEnabled()
Indicates whether flow logs are enabled. The default value is false. If the value is true,
FlowLogsS3Bucket
and FlowLogsS3Prefix
must be specified.
For more information, see Flow logs in the Global Accelerator Developer Guide.
FlowLogsS3Bucket
and FlowLogsS3Prefix
must be specified.
For more information, see Flow logs in the Global Accelerator Developer Guide.
public void setFlowLogsS3Bucket(String flowLogsS3Bucket)
The name of the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled
is
true
. The bucket must exist and have a bucket policy that grants Global Accelerator permission to
write to the bucket.
flowLogsS3Bucket
- The name of the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled
is true
. The bucket must exist and have a bucket policy that grants Global Accelerator
permission to write to the bucket.public String getFlowLogsS3Bucket()
The name of the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled
is
true
. The bucket must exist and have a bucket policy that grants Global Accelerator permission to
write to the bucket.
FlowLogsEnabled
is true
. The bucket must exist and have a bucket policy that grants Global Accelerator
permission to write to the bucket.public CustomRoutingAcceleratorAttributes withFlowLogsS3Bucket(String flowLogsS3Bucket)
The name of the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled
is
true
. The bucket must exist and have a bucket policy that grants Global Accelerator permission to
write to the bucket.
flowLogsS3Bucket
- The name of the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled
is true
. The bucket must exist and have a bucket policy that grants Global Accelerator
permission to write to the bucket.public void setFlowLogsS3Prefix(String flowLogsS3Prefix)
The prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabled
is true
.
If you don’t specify a prefix, the flow logs are stored in the root of the bucket. If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:
DOC-EXAMPLE-BUCKET//AWSLogs/aws_account_id
flowLogsS3Prefix
- The prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabled
is true
.
If you don’t specify a prefix, the flow logs are stored in the root of the bucket. If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:
DOC-EXAMPLE-BUCKET//AWSLogs/aws_account_id
public String getFlowLogsS3Prefix()
The prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabled
is true
.
If you don’t specify a prefix, the flow logs are stored in the root of the bucket. If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:
DOC-EXAMPLE-BUCKET//AWSLogs/aws_account_id
FlowLogsEnabled
is true
.
If you don’t specify a prefix, the flow logs are stored in the root of the bucket. If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:
DOC-EXAMPLE-BUCKET//AWSLogs/aws_account_id
public CustomRoutingAcceleratorAttributes withFlowLogsS3Prefix(String flowLogsS3Prefix)
The prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabled
is true
.
If you don’t specify a prefix, the flow logs are stored in the root of the bucket. If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:
DOC-EXAMPLE-BUCKET//AWSLogs/aws_account_id
flowLogsS3Prefix
- The prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabled
is true
.
If you don’t specify a prefix, the flow logs are stored in the root of the bucket. If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:
DOC-EXAMPLE-BUCKET//AWSLogs/aws_account_id
public String toString()
toString
in class Object
Object.toString()
public CustomRoutingAcceleratorAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.