public static final class ServiceTrait.Builder extends AbstractTraitBuilder<ServiceTrait,ServiceTrait.Builder>
ServiceTrait.| Modifier and Type | Method and Description |
|---|---|
ServiceTrait.Builder |
abbreviation(java.lang.String abbreviation)
Deprecated.
|
ServiceTrait.Builder |
arnNamespace(java.lang.String arnNamespace)
Set the ARN service namespace of the service.
|
ServiceTrait |
build()
Creates an immutable object that is created from the properties
that have been set on the builder.
|
ServiceTrait |
build(ShapeId target) |
ServiceTrait.Builder |
cloudFormationName(java.lang.String cloudFormationName)
Sets the AWS CloudFormation resource type service name.
|
ServiceTrait.Builder |
cloudTrailEventSource(java.lang.String cloudTrailEventSource)
Set the CloudTrail event source name of the service.
|
ServiceTrait.Builder |
endpointPrefix(java.lang.String endpointPrefix)
Set the endpoint prefix used to construct client endpoints.
|
ServiceTrait.Builder |
sdkId(java.lang.String sdkId)
Set the SDK service ID trait used to control client class names.
|
getSourceLocation, sourceLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrequiredStatepublic ServiceTrait build()
SmithyBuilderpublic ServiceTrait build(ShapeId target)
public ServiceTrait.Builder cloudFormationName(java.lang.String cloudFormationName)
Must match the following regex ^[a-z0-9.\-]{1,63}$
cloudFormationName - AWS CloudFormation resource type service name.public ServiceTrait.Builder arnNamespace(java.lang.String arnNamespace)
Must match the following regex: ^[A-Z][A-Za-z0-9]+$
arnNamespace - ARN service namespace to set.public ServiceTrait.Builder sdkId(java.lang.String sdkId)
Must match the following regex: ^[a-zA-Z][a-zA-Z0-9]*( [a-zA-Z0-9]+)*$
sdkId - SDK service ID to set.public ServiceTrait.Builder cloudTrailEventSource(java.lang.String cloudTrailEventSource)
cloudTrailEventSource - CloudTrail event source name of the service.public ServiceTrait.Builder endpointPrefix(java.lang.String endpointPrefix)
endpointPrefix - The endpoint prefix of the service.@Deprecated public ServiceTrait.Builder abbreviation(java.lang.String abbreviation)