Interface CreateServiceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateServiceResponse.Builder,CreateServiceResponse>,SdkBuilder<CreateServiceResponse.Builder,CreateServiceResponse>,SdkPojo,SdkResponse.Builder,VpcLatticeResponse.Builder
- Enclosing class:
- CreateServiceResponse
public static interface CreateServiceResponse.Builder extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<CreateServiceResponse.Builder,CreateServiceResponse>
-
-
Method Summary
-
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, 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 Detail
-
arn
CreateServiceResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the service.
- Parameters:
arn- The Amazon Resource Name (ARN) of the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authType
CreateServiceResponse.Builder authType(String authType)
The type of IAM policy.
-
authType
CreateServiceResponse.Builder authType(AuthType authType)
The type of IAM policy.
-
certificateArn
CreateServiceResponse.Builder certificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate.
- Parameters:
certificateArn- The Amazon Resource Name (ARN) of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDomainName
CreateServiceResponse.Builder customDomainName(String customDomainName)
The custom domain name of the service.
- Parameters:
customDomainName- The custom domain name of the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsEntry
CreateServiceResponse.Builder dnsEntry(DnsEntry dnsEntry)
The public DNS name of the service.
- Parameters:
dnsEntry- The public DNS name of the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsEntry
default CreateServiceResponse.Builder dnsEntry(Consumer<DnsEntry.Builder> dnsEntry)
The public DNS name of the service.
This is a convenience method that creates an instance of theDnsEntry.Builderavoiding the need to create one manually viaDnsEntry.builder().When the
Consumercompletes,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:
dnsEntry(DnsEntry)
-
id
CreateServiceResponse.Builder id(String id)
The ID of the service.
- Parameters:
id- The ID of the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateServiceResponse.Builder name(String name)
The name of the service.
- Parameters:
name- The name of the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
CreateServiceResponse.Builder status(String status)
The status. If the status is
CREATE_FAILED, you will have to delete and recreate the service.- Parameters:
status- The status. If the status isCREATE_FAILED, you will have to delete and recreate the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ServiceStatus,ServiceStatus
-
status
CreateServiceResponse.Builder status(ServiceStatus status)
The status. If the status is
CREATE_FAILED, you will have to delete and recreate the service.- Parameters:
status- The status. If the status isCREATE_FAILED, you will have to delete and recreate the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ServiceStatus,ServiceStatus
-
-