Interface CreateServiceNetworkVpcAssociationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateServiceNetworkVpcAssociationResponse.Builder,,CreateServiceNetworkVpcAssociationResponse> SdkBuilder<CreateServiceNetworkVpcAssociationResponse.Builder,,CreateServiceNetworkVpcAssociationResponse> SdkPojo,SdkResponse.Builder,VpcLatticeResponse.Builder
- Enclosing class:
CreateServiceNetworkVpcAssociationResponse
@Mutable
@NotThreadSafe
public static interface CreateServiceNetworkVpcAssociationResponse.Builder
extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<CreateServiceNetworkVpcAssociationResponse.Builder,CreateServiceNetworkVpcAssociationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the association.The account that created the association.dnsOptions(Consumer<DnsOptions.Builder> dnsOptions) Sets the value of the DnsOptions property for this object.dnsOptions(DnsOptions dnsOptions) Sets the value of the DnsOptions property for this object.The ID of the association.privateDnsEnabled(Boolean privateDnsEnabled) Indicates if private DNS is enabled for the VPC association.securityGroupIds(String... securityGroupIds) The IDs of the security groups.securityGroupIds(Collection<String> securityGroupIds) The IDs of the security groups.The association status.The association status.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
id
The ID of the association.
- Parameters:
id- The ID of the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The association status.
- Parameters:
status- The association status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
CreateServiceNetworkVpcAssociationResponse.Builder status(ServiceNetworkVpcAssociationStatus status) The association status.
- Parameters:
status- The association status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
arn
The Amazon Resource Name (ARN) of the association.
- Parameters:
arn- The Amazon Resource Name (ARN) of the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The account that created the association.
- Parameters:
createdBy- The account that created the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
CreateServiceNetworkVpcAssociationResponse.Builder securityGroupIds(Collection<String> securityGroupIds) The IDs of the security groups.
- Parameters:
securityGroupIds- The IDs of the security groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
The IDs of the security groups.
- Parameters:
securityGroupIds- The IDs of the security groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateDnsEnabled
Indicates if private DNS is enabled for the VPC association.
- Parameters:
privateDnsEnabled- Indicates if private DNS is enabled for the VPC association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsOptions
Sets the value of the DnsOptions property for this object.- Parameters:
dnsOptions- The new value for the DnsOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsOptions
default CreateServiceNetworkVpcAssociationResponse.Builder dnsOptions(Consumer<DnsOptions.Builder> dnsOptions) Sets the value of the DnsOptions property for this object. This is a convenience method that creates an instance of theDnsOptions.Builderavoiding the need to create one manually viaDnsOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todnsOptions(DnsOptions).- Parameters:
dnsOptions- a consumer that will call methods onDnsOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-