public static interface ServiceAlreadyExistsException.Builder extends CopyableBuilder<ServiceAlreadyExistsException.Builder,ServiceAlreadyExistsException>, ServiceDiscoveryException.Builder
Modifier and Type | Method and Description |
---|---|
ServiceAlreadyExistsException.Builder |
awsErrorDetails(AwsErrorDetails awsErrorDetails)
Specifies the additional awsErrorDetails from the service response.
|
ServiceAlreadyExistsException.Builder |
cause(Throwable cause)
Specifies the exception that caused this exception to occur.
|
ServiceAlreadyExistsException.Builder |
creatorRequestId(String creatorRequestId)
The
CreatorRequestId that was used to create the service. |
ServiceAlreadyExistsException.Builder |
message(String message)
Specifies the details of this exception.
|
ServiceAlreadyExistsException.Builder |
requestId(String requestId)
Specifies the requestId returned by the called service.
|
ServiceAlreadyExistsException.Builder |
serviceId(String serviceId)
The ID of the existing service.
|
ServiceAlreadyExistsException.Builder |
statusCode(int statusCode)
Specifies the status code returned by the service.
|
copy
applyMutation, build
awsErrorDetails, build
requestId, statusCode
cause, message
ServiceAlreadyExistsException.Builder creatorRequestId(String creatorRequestId)
The CreatorRequestId
that was used to create the service.
creatorRequestId
- The CreatorRequestId
that was used to create the service.ServiceAlreadyExistsException.Builder serviceId(String serviceId)
The ID of the existing service.
serviceId
- The ID of the existing service.ServiceAlreadyExistsException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
AwsServiceException.Builder
awsErrorDetails
in interface AwsServiceException.Builder
awsErrorDetails
in interface ServiceDiscoveryException.Builder
awsErrorDetails
- Object containing additional details from the response.ServiceAlreadyExistsException.Builder message(String message)
SdkException.Builder
message
in interface AwsServiceException.Builder
message
in interface SdkException.Builder
message
in interface SdkServiceException.Builder
message
in interface ServiceDiscoveryException.Builder
message
- The details of this exception.ServiceAlreadyExistsException.Builder requestId(String requestId)
SdkServiceException.Builder
requestId
in interface AwsServiceException.Builder
requestId
in interface SdkServiceException.Builder
requestId
in interface ServiceDiscoveryException.Builder
requestId
- A string that identifies the request made to a service.ServiceAlreadyExistsException.Builder statusCode(int statusCode)
SdkServiceException.Builder
statusCode
in interface AwsServiceException.Builder
statusCode
in interface SdkServiceException.Builder
statusCode
in interface ServiceDiscoveryException.Builder
statusCode
- an int containing the status code returned by the service.ServiceAlreadyExistsException.Builder cause(Throwable cause)
SdkException.Builder
cause
in interface AwsServiceException.Builder
cause
in interface SdkException.Builder
cause
in interface SdkServiceException.Builder
cause
in interface ServiceDiscoveryException.Builder
cause
- The exception that caused this exception to occur.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.