public class CreateDomainConfigurationRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a domain configuration.
The domain configuration feature is in public preview and is subject to change.
| Constructor and Description |
|---|
CreateDomainConfigurationRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
AuthorizerConfig |
getAuthorizerConfig()
An object that specifies the authorization service for a domain.
|
java.lang.String |
getDomainConfigurationName()
The name of the domain configuration.
|
java.lang.String |
getDomainName()
The name of the domain.
|
java.util.List<java.lang.String> |
getServerCertificateArns()
The ARNs of the certificates that AWS IoT passes to the device during the
TLS handshake.
|
java.lang.String |
getServiceType()
The type of service delivered by the endpoint.
|
java.util.List<Tag> |
getTags()
Metadata which can be used to manage the domain configuration.
|
java.lang.String |
getValidationCertificateArn()
The certificate used to validate the server certificate and prove domain
name ownership.
|
int |
hashCode() |
void |
setAuthorizerConfig(AuthorizerConfig authorizerConfig)
An object that specifies the authorization service for a domain.
|
void |
setDomainConfigurationName(java.lang.String domainConfigurationName)
The name of the domain configuration.
|
void |
setDomainName(java.lang.String domainName)
The name of the domain.
|
void |
setServerCertificateArns(java.util.Collection<java.lang.String> serverCertificateArns)
The ARNs of the certificates that AWS IoT passes to the device during the
TLS handshake.
|
void |
setServiceType(ServiceType serviceType)
The type of service delivered by the endpoint.
|
void |
setServiceType(java.lang.String serviceType)
The type of service delivered by the endpoint.
|
void |
setTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the domain configuration.
|
void |
setValidationCertificateArn(java.lang.String validationCertificateArn)
The certificate used to validate the server certificate and prove domain
name ownership.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDomainConfigurationRequest |
withAuthorizerConfig(AuthorizerConfig authorizerConfig)
An object that specifies the authorization service for a domain.
|
CreateDomainConfigurationRequest |
withDomainConfigurationName(java.lang.String domainConfigurationName)
The name of the domain configuration.
|
CreateDomainConfigurationRequest |
withDomainName(java.lang.String domainName)
The name of the domain.
|
CreateDomainConfigurationRequest |
withServerCertificateArns(java.util.Collection<java.lang.String> serverCertificateArns)
The ARNs of the certificates that AWS IoT passes to the device during the
TLS handshake.
|
CreateDomainConfigurationRequest |
withServerCertificateArns(java.lang.String... serverCertificateArns)
The ARNs of the certificates that AWS IoT passes to the device during the
TLS handshake.
|
CreateDomainConfigurationRequest |
withServiceType(ServiceType serviceType)
The type of service delivered by the endpoint.
|
CreateDomainConfigurationRequest |
withServiceType(java.lang.String serviceType)
The type of service delivered by the endpoint.
|
CreateDomainConfigurationRequest |
withTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the domain configuration.
|
CreateDomainConfigurationRequest |
withTags(Tag... tags)
Metadata which can be used to manage the domain configuration.
|
CreateDomainConfigurationRequest |
withValidationCertificateArn(java.lang.String validationCertificateArn)
The certificate used to validate the server certificate and prove domain
name ownership.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getDomainConfigurationName()
The name of the domain configuration. This value must be unique to a region.
Constraints:
Length: 1 - 128
Pattern: [\w.-]+
The name of the domain configuration. This value must be unique to a region.
public void setDomainConfigurationName(java.lang.String domainConfigurationName)
The name of the domain configuration. This value must be unique to a region.
Constraints:
Length: 1 - 128
Pattern: [\w.-]+
domainConfigurationName - The name of the domain configuration. This value must be unique to a region.
public CreateDomainConfigurationRequest withDomainConfigurationName(java.lang.String domainConfigurationName)
The name of the domain configuration. This value must be unique to a region.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w.-]+
domainConfigurationName - The name of the domain configuration. This value must be unique to a region.
public java.lang.String getDomainName()
The name of the domain.
Constraints:
Length: 1 - 253
The name of the domain.
public void setDomainName(java.lang.String domainName)
The name of the domain.
Constraints:
Length: 1 - 253
domainName - The name of the domain.
public CreateDomainConfigurationRequest withDomainName(java.lang.String domainName)
The name of the domain.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 253
domainName - The name of the domain.
public java.util.List<java.lang.String> getServerCertificateArns()
The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS-managed domains.
The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS-managed domains.
public void setServerCertificateArns(java.util.Collection<java.lang.String> serverCertificateArns)
The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS-managed domains.
serverCertificateArns - The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS-managed domains.
public CreateDomainConfigurationRequest withServerCertificateArns(java.lang.String... serverCertificateArns)
The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS-managed domains.
Returns a reference to this object so that method calls can be chained together.
serverCertificateArns - The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS-managed domains.
public CreateDomainConfigurationRequest withServerCertificateArns(java.util.Collection<java.lang.String> serverCertificateArns)
The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS-managed domains.
Returns a reference to this object so that method calls can be chained together.
serverCertificateArns - The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS-managed domains.
public java.lang.String getValidationCertificateArn()
The certificate used to validate the server certificate and prove domain name ownership. This certificate must be signed by a public certificate authority. This value is not required for AWS-managed domains.
Constraints:
Length: 1 - 2048
Pattern:
arn:aws(-cn|-us-gov|-iso-b|-iso)?:acm:[a-z]{2}-(gov-|iso-|
isob-)?[a-z]{4,9}-\d{1}:\d{12}:certificate/[a-zA-Z0-9/-]+
The certificate used to validate the server certificate and prove domain name ownership. This certificate must be signed by a public certificate authority. This value is not required for AWS-managed domains.
public void setValidationCertificateArn(java.lang.String validationCertificateArn)
The certificate used to validate the server certificate and prove domain name ownership. This certificate must be signed by a public certificate authority. This value is not required for AWS-managed domains.
Constraints:
Length: 1 - 2048
Pattern:
arn:aws(-cn|-us-gov|-iso-b|-iso)?:acm:[a-z]{2}-(gov-|iso-|
isob-)?[a-z]{4,9}-\d{1}:\d{12}:certificate/[a-zA-Z0-9/-]+
validationCertificateArn - The certificate used to validate the server certificate and prove domain name ownership. This certificate must be signed by a public certificate authority. This value is not required for AWS-managed domains.
public CreateDomainConfigurationRequest withValidationCertificateArn(java.lang.String validationCertificateArn)
The certificate used to validate the server certificate and prove domain name ownership. This certificate must be signed by a public certificate authority. This value is not required for AWS-managed domains.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2048
Pattern:
arn:aws(-cn|-us-gov|-iso-b|-iso)?:acm:[a-z]{2}-(gov-|iso-|
isob-)?[a-z]{4,9}-\d{1}:\d{12}:certificate/[a-zA-Z0-9/-]+
validationCertificateArn - The certificate used to validate the server certificate and prove domain name ownership. This certificate must be signed by a public certificate authority. This value is not required for AWS-managed domains.
public AuthorizerConfig getAuthorizerConfig()
An object that specifies the authorization service for a domain.
An object that specifies the authorization service for a domain.
public void setAuthorizerConfig(AuthorizerConfig authorizerConfig)
An object that specifies the authorization service for a domain.
authorizerConfig - An object that specifies the authorization service for a domain.
public CreateDomainConfigurationRequest withAuthorizerConfig(AuthorizerConfig authorizerConfig)
An object that specifies the authorization service for a domain.
Returns a reference to this object so that method calls can be chained together.
authorizerConfig - An object that specifies the authorization service for a domain.
public java.lang.String getServiceType()
The type of service delivered by the endpoint.
AWS IoT Core currently supports only the DATA service type.
Constraints:
Allowed Values: DATA, CREDENTIAL_PROVIDER, JOBS
The type of service delivered by the endpoint.
AWS IoT Core currently supports only the DATA
service type.
ServiceTypepublic void setServiceType(java.lang.String serviceType)
The type of service delivered by the endpoint.
AWS IoT Core currently supports only the DATA service type.
Constraints:
Allowed Values: DATA, CREDENTIAL_PROVIDER, JOBS
serviceType - The type of service delivered by the endpoint.
AWS IoT Core currently supports only the DATA
service type.
ServiceTypepublic CreateDomainConfigurationRequest withServiceType(java.lang.String serviceType)
The type of service delivered by the endpoint.
AWS IoT Core currently supports only the DATA service type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DATA, CREDENTIAL_PROVIDER, JOBS
serviceType - The type of service delivered by the endpoint.
AWS IoT Core currently supports only the DATA
service type.
ServiceTypepublic void setServiceType(ServiceType serviceType)
The type of service delivered by the endpoint.
AWS IoT Core currently supports only the DATA service type.
Constraints:
Allowed Values: DATA, CREDENTIAL_PROVIDER, JOBS
serviceType - The type of service delivered by the endpoint.
AWS IoT Core currently supports only the DATA
service type.
ServiceTypepublic CreateDomainConfigurationRequest withServiceType(ServiceType serviceType)
The type of service delivered by the endpoint.
AWS IoT Core currently supports only the DATA service type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DATA, CREDENTIAL_PROVIDER, JOBS
serviceType - The type of service delivered by the endpoint.
AWS IoT Core currently supports only the DATA
service type.
ServiceTypepublic java.util.List<Tag> getTags()
Metadata which can be used to manage the domain configuration.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
Metadata which can be used to manage the domain configuration.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
public void setTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the domain configuration.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
tags - Metadata which can be used to manage the domain configuration.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
public CreateDomainConfigurationRequest withTags(Tag... tags)
Metadata which can be used to manage the domain configuration.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
Returns a reference to this object so that method calls can be chained together.
tags - Metadata which can be used to manage the domain configuration.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
public CreateDomainConfigurationRequest withTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the domain configuration.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
Returns a reference to this object so that method calls can be chained together.
tags - Metadata which can be used to manage the domain configuration.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.