@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AcceleratorAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Attributes of an accelerator.
Constructor and Description |
---|
AcceleratorAttributes() |
Modifier and Type | Method and Description |
---|---|
AcceleratorAttributes |
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.
|
AcceleratorAttributes |
withFlowLogsEnabled(Boolean flowLogsEnabled)
Indicates whether flow logs are enabled.
|
AcceleratorAttributes |
withFlowLogsS3Bucket(String flowLogsS3Bucket)
The name of the Amazon S3 bucket for the flow logs.
|
AcceleratorAttributes |
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 AcceleratorAttributes 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 AcceleratorAttributes 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 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
flowLogsS3Prefix
- The prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabled
is true
.
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
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 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
FlowLogsEnabled
is true
.
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
public AcceleratorAttributes 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 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
flowLogsS3Prefix
- The prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabled
is true
.
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
public String toString()
toString
in class Object
Object.toString()
public AcceleratorAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.