Interface Endpoint.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Endpoint.Builder,Endpoint>,SdkBuilder<Endpoint.Builder,Endpoint>,SdkPojo
- Enclosing class:
- Endpoint
public static interface Endpoint.Builder extends SdkPojo, CopyableBuilder<Endpoint.Builder,Endpoint>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Endpoint.BuilderaccessType(String accessType)The type of connectivity used to access the Amazon S3 on Outposts endpoint.Endpoint.BuilderaccessType(EndpointAccessType accessType)The type of connectivity used to access the Amazon S3 on Outposts endpoint.Endpoint.BuildercidrBlock(String cidrBlock)The VPC CIDR committed by this endpoint.Endpoint.BuildercreationTime(Instant creationTime)The time the endpoint was created.Endpoint.BuildercustomerOwnedIpv4Pool(String customerOwnedIpv4Pool)The ID of the customer-owned IPv4 address pool used for the endpoint.Endpoint.BuilderendpointArn(String endpointArn)The Amazon Resource Name (ARN) of the endpoint.default Endpoint.BuilderfailedReason(Consumer<FailedReason.Builder> failedReason)The failure reason, if any, for a create or delete endpoint operation.Endpoint.BuilderfailedReason(FailedReason failedReason)The failure reason, if any, for a create or delete endpoint operation.Endpoint.BuildernetworkInterfaces(Collection<NetworkInterface> networkInterfaces)The network interface of the endpoint.Endpoint.BuildernetworkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces)The network interface of the endpoint.Endpoint.BuildernetworkInterfaces(NetworkInterface... networkInterfaces)The network interface of the endpoint.Endpoint.BuilderoutpostsId(String outpostsId)The ID of the Outposts.Endpoint.BuildersecurityGroupId(String securityGroupId)The ID of the security group used for the endpoint.Endpoint.Builderstatus(String status)The status of the endpoint.Endpoint.Builderstatus(EndpointStatus status)The status of the endpoint.Endpoint.BuildersubnetId(String subnetId)The ID of the subnet used for the endpoint.Endpoint.BuildervpcId(String vpcId)The ID of the VPC used for the endpoint.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
endpointArn
Endpoint.Builder endpointArn(String endpointArn)
The Amazon Resource Name (ARN) of the endpoint.
- Parameters:
endpointArn- The Amazon Resource Name (ARN) of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outpostsId
Endpoint.Builder outpostsId(String outpostsId)
The ID of the Outposts.
- Parameters:
outpostsId- The ID of the Outposts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrBlock
Endpoint.Builder cidrBlock(String cidrBlock)
The VPC CIDR committed by this endpoint.
- Parameters:
cidrBlock- The VPC CIDR committed by this endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Endpoint.Builder status(String status)
The status of the endpoint.
- Parameters:
status- The status of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EndpointStatus,EndpointStatus
-
status
Endpoint.Builder status(EndpointStatus status)
The status of the endpoint.
- Parameters:
status- The status of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EndpointStatus,EndpointStatus
-
creationTime
Endpoint.Builder creationTime(Instant creationTime)
The time the endpoint was created.
- Parameters:
creationTime- The time the endpoint was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
Endpoint.Builder networkInterfaces(Collection<NetworkInterface> networkInterfaces)
The network interface of the endpoint.
- Parameters:
networkInterfaces- The network interface of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
Endpoint.Builder networkInterfaces(NetworkInterface... networkInterfaces)
The network interface of the endpoint.
- Parameters:
networkInterfaces- The network interface of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
Endpoint.Builder networkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces)
The network interface of the endpoint.
This is a convenience method that creates an instance of theNetworkInterface.Builderavoiding the need to create one manually viaNetworkInterface.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#networkInterfaces(List.) - Parameters:
networkInterfaces- a consumer that will call methods onNetworkInterface.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#networkInterfaces(java.util.Collection)
-
vpcId
Endpoint.Builder vpcId(String vpcId)
The ID of the VPC used for the endpoint.
- Parameters:
vpcId- The ID of the VPC used for the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetId
Endpoint.Builder subnetId(String subnetId)
The ID of the subnet used for the endpoint.
- Parameters:
subnetId- The ID of the subnet used for the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupId
Endpoint.Builder securityGroupId(String securityGroupId)
The ID of the security group used for the endpoint.
- Parameters:
securityGroupId- The ID of the security group used for the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessType
Endpoint.Builder accessType(String accessType)
The type of connectivity used to access the Amazon S3 on Outposts endpoint.
- Parameters:
accessType- The type of connectivity used to access the Amazon S3 on Outposts endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EndpointAccessType,EndpointAccessType
-
accessType
Endpoint.Builder accessType(EndpointAccessType accessType)
The type of connectivity used to access the Amazon S3 on Outposts endpoint.
- Parameters:
accessType- The type of connectivity used to access the Amazon S3 on Outposts endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EndpointAccessType,EndpointAccessType
-
customerOwnedIpv4Pool
Endpoint.Builder customerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The ID of the customer-owned IPv4 address pool used for the endpoint.
- Parameters:
customerOwnedIpv4Pool- The ID of the customer-owned IPv4 address pool used for the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedReason
Endpoint.Builder failedReason(FailedReason failedReason)
The failure reason, if any, for a create or delete endpoint operation.
- Parameters:
failedReason- The failure reason, if any, for a create or delete endpoint operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedReason
default Endpoint.Builder failedReason(Consumer<FailedReason.Builder> failedReason)
The failure reason, if any, for a create or delete endpoint operation.
This is a convenience method that creates an instance of theFailedReason.Builderavoiding the need to create one manually viaFailedReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailedReason(FailedReason).- Parameters:
failedReason- a consumer that will call methods onFailedReason.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
failedReason(FailedReason)
-
-