public final class ServiceTrait extends AbstractTrait implements ToSmithyBuilder<ServiceTrait>
Modifier and Type | Class and Description |
---|---|
static class |
ServiceTrait.Builder
Builder for
ServiceTrait . |
static class |
ServiceTrait.Provider |
Modifier and Type | Method and Description |
---|---|
static ServiceTrait.Builder |
builder() |
protected Node |
createNode()
The result of toNode is used for hashCodes and equality.
|
boolean |
equals(java.lang.Object other) |
java.util.Optional<java.lang.String> |
getAbbreviation()
Deprecated.
|
java.lang.String |
getArnNamespace()
Get the AWS ARN service namespace of the service.
|
java.lang.String |
getCloudFormationName()
Get the AWS CloudFormation service name.
|
java.lang.String |
getCloudTrailEventSource()
Returns the CloudTrail event source name of the service.
|
java.lang.String |
getEndpointPrefix()
Returns the endpoint prefix for the service.
|
java.lang.String |
getSdkId()
Get the SDK service ID.
|
int |
hashCode() |
ServiceTrait.Builder |
toBuilder()
Take this object and create a builder that contains all of the
current property values of this object.
|
getSourceLocation, setNodeCache, toNode, toShapeId, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
flatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, isSynthetic, makeAbsoluteName, makeAbsoluteName
public static final ShapeId ID
public static ServiceTrait.Builder builder()
ServiceTrait
.public java.lang.String getArnNamespace()
If not set, this value defaults to the name of the service shape converted to lowercase. This value is combined with resources contained within the service to form ARNs for resources. Only resources that explicitly define the 'aws.api#arnTemplate' trait are assigned ARNs, and their relative ARNs are combined with the service's arnNamespace to form an ARN.
public java.lang.String getCloudFormationName()
When not set, this value defaults to the name of the service shape.
public java.lang.String getSdkId()
This value is used to generate SDK class names.
public java.lang.String getCloudTrailEventSource()
public java.lang.String getEndpointPrefix()
@Deprecated public java.util.Optional<java.lang.String> getAbbreviation()
public ServiceTrait.Builder toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<ServiceTrait>
protected Node createNode()
AbstractTrait
createNode
in class AbstractTrait
public boolean equals(java.lang.Object other)
equals
in class AbstractTrait
public int hashCode()
hashCode
in class AbstractTrait