@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetServiceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetServiceResult() |
Modifier and Type | Method and Description |
---|---|
GetServiceResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the service.
|
String |
getAuthType()
The type of IAM policy.
|
String |
getCertificateArn()
The Amazon Resource Name (ARN) of the certificate.
|
Date |
getCreatedAt()
The date and time that the service was created, specified in ISO-8601 format.
|
String |
getCustomDomainName()
The custom domain name of the service.
|
DnsEntry |
getDnsEntry()
The DNS name of the service.
|
String |
getFailureCode()
The failure code.
|
String |
getFailureMessage()
The failure message.
|
String |
getId()
The ID of the service.
|
Date |
getLastUpdatedAt()
The date and time that the service was last updated, specified in ISO-8601 format.
|
String |
getName()
The name of the service.
|
String |
getStatus()
The status of the service.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the service.
|
void |
setAuthType(String authType)
The type of IAM policy.
|
void |
setCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate.
|
void |
setCreatedAt(Date createdAt)
The date and time that the service was created, specified in ISO-8601 format.
|
void |
setCustomDomainName(String customDomainName)
The custom domain name of the service.
|
void |
setDnsEntry(DnsEntry dnsEntry)
The DNS name of the service.
|
void |
setFailureCode(String failureCode)
The failure code.
|
void |
setFailureMessage(String failureMessage)
The failure message.
|
void |
setId(String id)
The ID of the service.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
The date and time that the service was last updated, specified in ISO-8601 format.
|
void |
setName(String name)
The name of the service.
|
void |
setStatus(String status)
The status of the service.
|
String |
toString()
Returns a string representation of this object.
|
GetServiceResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the service.
|
GetServiceResult |
withAuthType(AuthType authType)
The type of IAM policy.
|
GetServiceResult |
withAuthType(String authType)
The type of IAM policy.
|
GetServiceResult |
withCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate.
|
GetServiceResult |
withCreatedAt(Date createdAt)
The date and time that the service was created, specified in ISO-8601 format.
|
GetServiceResult |
withCustomDomainName(String customDomainName)
The custom domain name of the service.
|
GetServiceResult |
withDnsEntry(DnsEntry dnsEntry)
The DNS name of the service.
|
GetServiceResult |
withFailureCode(String failureCode)
The failure code.
|
GetServiceResult |
withFailureMessage(String failureMessage)
The failure message.
|
GetServiceResult |
withId(String id)
The ID of the service.
|
GetServiceResult |
withLastUpdatedAt(Date lastUpdatedAt)
The date and time that the service was last updated, specified in ISO-8601 format.
|
GetServiceResult |
withName(String name)
The name of the service.
|
GetServiceResult |
withStatus(ServiceStatus status)
The status of the service.
|
GetServiceResult |
withStatus(String status)
The status of the service.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The Amazon Resource Name (ARN) of the service.
arn
- The Amazon Resource Name (ARN) of the service.public String getArn()
The Amazon Resource Name (ARN) of the service.
public GetServiceResult withArn(String arn)
The Amazon Resource Name (ARN) of the service.
arn
- The Amazon Resource Name (ARN) of the service.public void setAuthType(String authType)
The type of IAM policy.
authType
- The type of IAM policy.AuthType
public String getAuthType()
The type of IAM policy.
AuthType
public GetServiceResult withAuthType(String authType)
The type of IAM policy.
authType
- The type of IAM policy.AuthType
public GetServiceResult withAuthType(AuthType authType)
The type of IAM policy.
authType
- The type of IAM policy.AuthType
public void setCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate.
certificateArn
- The Amazon Resource Name (ARN) of the certificate.public String getCertificateArn()
The Amazon Resource Name (ARN) of the certificate.
public GetServiceResult withCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate.
certificateArn
- The Amazon Resource Name (ARN) of the certificate.public void setCreatedAt(Date createdAt)
The date and time that the service was created, specified in ISO-8601 format.
createdAt
- The date and time that the service was created, specified in ISO-8601 format.public Date getCreatedAt()
The date and time that the service was created, specified in ISO-8601 format.
public GetServiceResult withCreatedAt(Date createdAt)
The date and time that the service was created, specified in ISO-8601 format.
createdAt
- The date and time that the service was created, specified in ISO-8601 format.public void setCustomDomainName(String customDomainName)
The custom domain name of the service.
customDomainName
- The custom domain name of the service.public String getCustomDomainName()
The custom domain name of the service.
public GetServiceResult withCustomDomainName(String customDomainName)
The custom domain name of the service.
customDomainName
- The custom domain name of the service.public void setDnsEntry(DnsEntry dnsEntry)
The DNS name of the service.
dnsEntry
- The DNS name of the service.public DnsEntry getDnsEntry()
The DNS name of the service.
public GetServiceResult withDnsEntry(DnsEntry dnsEntry)
The DNS name of the service.
dnsEntry
- The DNS name of the service.public void setFailureCode(String failureCode)
The failure code.
failureCode
- The failure code.public String getFailureCode()
The failure code.
public GetServiceResult withFailureCode(String failureCode)
The failure code.
failureCode
- The failure code.public void setFailureMessage(String failureMessage)
The failure message.
failureMessage
- The failure message.public String getFailureMessage()
The failure message.
public GetServiceResult withFailureMessage(String failureMessage)
The failure message.
failureMessage
- The failure message.public void setId(String id)
The ID of the service.
id
- The ID of the service.public String getId()
The ID of the service.
public GetServiceResult withId(String id)
The ID of the service.
id
- The ID of the service.public void setLastUpdatedAt(Date lastUpdatedAt)
The date and time that the service was last updated, specified in ISO-8601 format.
lastUpdatedAt
- The date and time that the service was last updated, specified in ISO-8601 format.public Date getLastUpdatedAt()
The date and time that the service was last updated, specified in ISO-8601 format.
public GetServiceResult withLastUpdatedAt(Date lastUpdatedAt)
The date and time that the service was last updated, specified in ISO-8601 format.
lastUpdatedAt
- The date and time that the service was last updated, specified in ISO-8601 format.public void setName(String name)
The name of the service.
name
- The name of the service.public String getName()
The name of the service.
public GetServiceResult withName(String name)
The name of the service.
name
- The name of the service.public void setStatus(String status)
The status of the service.
status
- The status of the service.ServiceStatus
public String getStatus()
The status of the service.
ServiceStatus
public GetServiceResult withStatus(String status)
The status of the service.
status
- The status of the service.ServiceStatus
public GetServiceResult withStatus(ServiceStatus status)
The status of the service.
status
- The status of the service.ServiceStatus
public String toString()
toString
in class Object
Object.toString()
public GetServiceResult clone()