public static interface Accelerator.Builder extends SdkPojo, CopyableBuilder<Accelerator.Builder,Accelerator>
Modifier and Type | Method and Description |
---|---|
Accelerator.Builder |
acceleratorArn(String acceleratorArn)
The Amazon Resource Name (ARN) of the accelerator.
|
Accelerator.Builder |
createdTime(Instant createdTime)
The date and time that the accelerator was created.
|
Accelerator.Builder |
enabled(Boolean enabled)
Indicates whether theaccelerator is enabled.
|
Accelerator.Builder |
ipAddressType(IpAddressType ipAddressType)
The value for the address type must be IPv4.
|
Accelerator.Builder |
ipAddressType(String ipAddressType)
The value for the address type must be IPv4.
|
Accelerator.Builder |
ipSets(Collection<IpSet> ipSets)
IP address set associated with the accelerator.
|
Accelerator.Builder |
ipSets(Consumer<IpSet.Builder>... ipSets)
IP address set associated with the accelerator.
|
Accelerator.Builder |
ipSets(IpSet... ipSets)
IP address set associated with the accelerator.
|
Accelerator.Builder |
lastModifiedTime(Instant lastModifiedTime)
The date and time that the accelerator was last modified.
|
Accelerator.Builder |
name(String name)
The name of the accelerator.
|
Accelerator.Builder |
status(AcceleratorStatus status)
Describes the deployment status of the accelerator.
|
Accelerator.Builder |
status(String status)
Describes the deployment status of the accelerator.
|
copy
applyMutation, build
Accelerator.Builder acceleratorArn(String acceleratorArn)
The Amazon Resource Name (ARN) of the accelerator.
acceleratorArn
- The Amazon Resource Name (ARN) of the accelerator.Accelerator.Builder name(String name)
The name of the accelerator. The name can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.
name
- The name of the accelerator. The name can have a maximum of 32 characters, must contain only
alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.Accelerator.Builder ipAddressType(String ipAddressType)
The value for the address type must be IPv4.
ipAddressType
- The value for the address type must be IPv4.IpAddressType
,
IpAddressType
Accelerator.Builder ipAddressType(IpAddressType ipAddressType)
The value for the address type must be IPv4.
ipAddressType
- The value for the address type must be IPv4.IpAddressType
,
IpAddressType
Accelerator.Builder enabled(Boolean enabled)
Indicates whether theaccelerator is enabled. The value is true or false. The default value is true.
If the value is set to true, the accelerator cannot be deleted. If set to false, accelerator can be deleted.
enabled
- Indicates whether theaccelerator is enabled. The value is true or false. The default value is true.
If the value is set to true, the accelerator cannot be deleted. If set to false, accelerator can be deleted.
Accelerator.Builder ipSets(Collection<IpSet> ipSets)
IP address set associated with the accelerator.
ipSets
- IP address set associated with the accelerator.Accelerator.Builder ipSets(IpSet... ipSets)
IP address set associated with the accelerator.
ipSets
- IP address set associated with the accelerator.Accelerator.Builder ipSets(Consumer<IpSet.Builder>... ipSets)
IP address set associated with the accelerator.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #ipSets(List)
.ipSets
- a consumer that will call methods on List.Builder
#ipSets(List)
Accelerator.Builder status(String status)
Describes the deployment status of the accelerator.
status
- Describes the deployment status of the accelerator.AcceleratorStatus
,
AcceleratorStatus
Accelerator.Builder status(AcceleratorStatus status)
Describes the deployment status of the accelerator.
status
- Describes the deployment status of the accelerator.AcceleratorStatus
,
AcceleratorStatus
Accelerator.Builder createdTime(Instant createdTime)
The date and time that the accelerator was created.
createdTime
- The date and time that the accelerator was created.Accelerator.Builder lastModifiedTime(Instant lastModifiedTime)
The date and time that the accelerator was last modified.
lastModifiedTime
- The date and time that the accelerator was last modified.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.