public class CreateDomainConfigurationRequest extends AmazonWebServiceRequest implements 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(Object obj) |
AuthorizerConfig |
getAuthorizerConfig()
An object that specifies the authorization service for a domain.
|
String |
getDomainConfigurationName()
The name of the domain configuration.
|
String |
getDomainName()
The name of the domain.
|
List<String> |
getServerCertificateArns()
The ARNs of the certificates that AWS IoT passes to the device during the
TLS handshake.
|
String |
getServiceType()
The type of service delivered by the endpoint.
|
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(String domainConfigurationName)
The name of the domain configuration.
|
void |
setDomainName(String domainName)
The name of the domain.
|
void |
setServerCertificateArns(Collection<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(String serviceType)
The type of service delivered by the endpoint.
|
void |
setValidationCertificateArn(String validationCertificateArn)
The certificate used to validate the server certificate and prove domain
name ownership.
|
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(String domainConfigurationName)
The name of the domain configuration.
|
CreateDomainConfigurationRequest |
withDomainName(String domainName)
The name of the domain.
|
CreateDomainConfigurationRequest |
withServerCertificateArns(Collection<String> serverCertificateArns)
The ARNs of the certificates that AWS IoT passes to the device during the
TLS handshake.
|
CreateDomainConfigurationRequest |
withServerCertificateArns(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(String serviceType)
The type of service delivered by the endpoint.
|
CreateDomainConfigurationRequest |
withValidationCertificateArn(String validationCertificateArn)
The certificate used to validate the server certificate and prove domain
name ownership.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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(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(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 String getDomainName()
The name of the domain.
Constraints:
Length: 1 - 253
The name of the domain.
public void setDomainName(String domainName)
The name of the domain.
Constraints:
Length: 1 - 253
domainName - The name of the domain.
public CreateDomainConfigurationRequest withDomainName(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 List<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(Collection<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(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(Collection<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 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:acm:[a-z]{2}-(gov-)?[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(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:acm:[a-z]{2}-(gov-)?[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(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:acm:[a-z]{2}-(gov-)?[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 String getServiceType()
The type of service delivered by the endpoint.
Constraints:
Allowed Values: DATA, CREDENTIAL_PROVIDER, JOBS
The type of service delivered by the endpoint.
ServiceTypepublic void setServiceType(String serviceType)
The type of service delivered by the endpoint.
Constraints:
Allowed Values: DATA, CREDENTIAL_PROVIDER, JOBS
serviceType - The type of service delivered by the endpoint.
ServiceTypepublic CreateDomainConfigurationRequest withServiceType(String serviceType)
The type of service delivered by the endpoint.
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.
ServiceTypepublic void setServiceType(ServiceType serviceType)
The type of service delivered by the endpoint.
Constraints:
Allowed Values: DATA, CREDENTIAL_PROVIDER, JOBS
serviceType - The type of service delivered by the endpoint.
ServiceTypepublic CreateDomainConfigurationRequest withServiceType(ServiceType serviceType)
The type of service delivered by the endpoint.
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.
ServiceTypepublic String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.