Interface GetServiceNetworkResourceAssociationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetServiceNetworkResourceAssociationResponse.Builder,
,GetServiceNetworkResourceAssociationResponse> SdkBuilder<GetServiceNetworkResourceAssociationResponse.Builder,
,GetServiceNetworkResourceAssociationResponse> SdkPojo
,SdkResponse.Builder
,VpcLatticeResponse.Builder
- Enclosing class:
GetServiceNetworkResourceAssociationResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the association.The date and time that the association was created, in ISO-8601 format.The account that created the association.dnsEntry
(Consumer<DnsEntry.Builder> dnsEntry) The DNS entry for the service.The DNS entry for the service.failureCode
(String failureCode) The failure code.failureReason
(String failureReason) The reason the association request failed.The ID of the association.isManagedAssociation
(Boolean isManagedAssociation) Indicates whether the association is managed by Amazon.lastUpdatedAt
(Instant lastUpdatedAt) The most recent date and time that the association was updated, in ISO-8601 format.privateDnsEntry
(Consumer<DnsEntry.Builder> privateDnsEntry) The private DNS entry for the service.privateDnsEntry
(DnsEntry privateDnsEntry) The private DNS entry for the service.resourceConfigurationArn
(String resourceConfigurationArn) The Amazon Resource Name (ARN) of the association.resourceConfigurationId
(String resourceConfigurationId) The ID of the resource configuration that is associated with the service network.resourceConfigurationName
(String resourceConfigurationName) The name of the resource configuration that is associated with the service network.serviceNetworkArn
(String serviceNetworkArn) The Amazon Resource Name (ARN) of the service network that is associated with the resource configuration.serviceNetworkId
(String serviceNetworkId) The ID of the service network that is associated with the resource configuration.serviceNetworkName
(String serviceNetworkName) The name of the service network that is associated with the resource configuration.The status of the association.The status of the association.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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
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.
-
createdAt
The date and time that the association was created, in ISO-8601 format.
- Parameters:
createdAt
- The date and time that the association was created, in ISO-8601 format.- 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.
-
dnsEntry
The DNS entry for the service.
- Parameters:
dnsEntry
- The DNS entry for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsEntry
default GetServiceNetworkResourceAssociationResponse.Builder dnsEntry(Consumer<DnsEntry.Builder> dnsEntry) The DNS entry for the service.
This is a convenience method that creates an instance of theDnsEntry.Builder
avoiding the need to create one manually viaDnsEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todnsEntry(DnsEntry)
.- Parameters:
dnsEntry
- a consumer that will call methods onDnsEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureCode
The failure code.
- Parameters:
failureCode
- The failure code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
The reason the association request failed.
- Parameters:
failureReason
- The reason the association request failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
isManagedAssociation
GetServiceNetworkResourceAssociationResponse.Builder isManagedAssociation(Boolean isManagedAssociation) Indicates whether the association is managed by Amazon.
- Parameters:
isManagedAssociation
- Indicates whether the association is managed by Amazon.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
The most recent date and time that the association was updated, in ISO-8601 format.
- Parameters:
lastUpdatedAt
- The most recent date and time that the association was updated, in ISO-8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateDnsEntry
The private DNS entry for the service.
- Parameters:
privateDnsEntry
- The private DNS entry for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateDnsEntry
default GetServiceNetworkResourceAssociationResponse.Builder privateDnsEntry(Consumer<DnsEntry.Builder> privateDnsEntry) The private DNS entry for the service.
This is a convenience method that creates an instance of theDnsEntry.Builder
avoiding the need to create one manually viaDnsEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprivateDnsEntry(DnsEntry)
.- Parameters:
privateDnsEntry
- a consumer that will call methods onDnsEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceConfigurationArn
GetServiceNetworkResourceAssociationResponse.Builder resourceConfigurationArn(String resourceConfigurationArn) The Amazon Resource Name (ARN) of the association.
- Parameters:
resourceConfigurationArn
- The Amazon Resource Name (ARN) of the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceConfigurationId
GetServiceNetworkResourceAssociationResponse.Builder resourceConfigurationId(String resourceConfigurationId) The ID of the resource configuration that is associated with the service network.
- Parameters:
resourceConfigurationId
- The ID of the resource configuration that is associated with the service network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceConfigurationName
GetServiceNetworkResourceAssociationResponse.Builder resourceConfigurationName(String resourceConfigurationName) The name of the resource configuration that is associated with the service network.
- Parameters:
resourceConfigurationName
- The name of the resource configuration that is associated with the service network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceNetworkArn
The Amazon Resource Name (ARN) of the service network that is associated with the resource configuration.
- Parameters:
serviceNetworkArn
- The Amazon Resource Name (ARN) of the service network that is associated with the resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceNetworkId
The ID of the service network that is associated with the resource configuration.
- Parameters:
serviceNetworkId
- The ID of the service network that is associated with the resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceNetworkName
The name of the service network that is associated with the resource configuration.
- Parameters:
serviceNetworkName
- The name of the service network that is associated with the resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the association.
- Parameters:
status
- The status of the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
GetServiceNetworkResourceAssociationResponse.Builder status(ServiceNetworkResourceAssociationStatus status) The status of the association.
- Parameters:
status
- The status of the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-