Interface UpdateDomainConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateDomainConfigurationRequest.Builder,,UpdateDomainConfigurationRequest> IotRequest.Builder,SdkBuilder<UpdateDomainConfigurationRequest.Builder,,UpdateDomainConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateDomainConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationProtocol(String applicationProtocol) An enumerated string that specifies the application-layer protocol.applicationProtocol(ApplicationProtocol applicationProtocol) An enumerated string that specifies the application-layer protocol.authenticationType(String authenticationType) An enumerated string that specifies the authentication type.authenticationType(AuthenticationType authenticationType) An enumerated string that specifies the authentication type.authorizerConfig(Consumer<AuthorizerConfig.Builder> authorizerConfig) An object that specifies the authorization service for a domain.authorizerConfig(AuthorizerConfig authorizerConfig) An object that specifies the authorization service for a domain.clientCertificateConfig(Consumer<ClientCertificateConfig.Builder> clientCertificateConfig) An object that specifies the client certificate configuration for a domain.clientCertificateConfig(ClientCertificateConfig clientCertificateConfig) An object that specifies the client certificate configuration for a domain.domainConfigurationName(String domainConfigurationName) The name of the domain configuration to be updated.domainConfigurationStatus(String domainConfigurationStatus) The status to which the domain configuration should be updated.domainConfigurationStatus(DomainConfigurationStatus domainConfigurationStatus) The status to which the domain configuration should be updated.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.removeAuthorizerConfig(Boolean removeAuthorizerConfig) Removes the authorization configuration from a domain.serverCertificateConfig(Consumer<ServerCertificateConfig.Builder> serverCertificateConfig) The server certificate configuration.serverCertificateConfig(ServerCertificateConfig serverCertificateConfig) The server certificate configuration.tlsConfig(Consumer<TlsConfig.Builder> tlsConfig) An object that specifies the TLS configuration for a domain.An object that specifies the TLS configuration for a domain.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
domainConfigurationName
The name of the domain configuration to be updated.
- Parameters:
domainConfigurationName- The name of the domain configuration to be updated.- Returns:
- 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.
- Parameters:
authorizerConfig- An object that specifies the authorization service for a domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizerConfig
default UpdateDomainConfigurationRequest.Builder authorizerConfig(Consumer<AuthorizerConfig.Builder> authorizerConfig) An object that specifies the authorization service for a domain.
This is a convenience method that creates an instance of theAuthorizerConfig.Builderavoiding the need to create one manually viaAuthorizerConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthorizerConfig(AuthorizerConfig).- Parameters:
authorizerConfig- a consumer that will call methods onAuthorizerConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
domainConfigurationStatus
UpdateDomainConfigurationRequest.Builder domainConfigurationStatus(String domainConfigurationStatus) The status to which the domain configuration should be updated.
- Parameters:
domainConfigurationStatus- The status to which the domain configuration should be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
domainConfigurationStatus
UpdateDomainConfigurationRequest.Builder domainConfigurationStatus(DomainConfigurationStatus domainConfigurationStatus) The status to which the domain configuration should be updated.
- Parameters:
domainConfigurationStatus- The status to which the domain configuration should be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
removeAuthorizerConfig
Removes the authorization configuration from a domain.
- Parameters:
removeAuthorizerConfig- Removes the authorization configuration from a domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tlsConfig
An object that specifies the TLS configuration for a domain.
- Parameters:
tlsConfig- An object that specifies the TLS configuration for a domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tlsConfig
An object that specifies the TLS configuration for a domain.
This is a convenience method that creates an instance of theTlsConfig.Builderavoiding the need to create one manually viaTlsConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totlsConfig(TlsConfig).- Parameters:
tlsConfig- a consumer that will call methods onTlsConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverCertificateConfig
UpdateDomainConfigurationRequest.Builder serverCertificateConfig(ServerCertificateConfig serverCertificateConfig) The server certificate configuration.
- Parameters:
serverCertificateConfig- The server certificate configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverCertificateConfig
default UpdateDomainConfigurationRequest.Builder serverCertificateConfig(Consumer<ServerCertificateConfig.Builder> serverCertificateConfig) The server certificate configuration.
This is a convenience method that creates an instance of theServerCertificateConfig.Builderavoiding the need to create one manually viaServerCertificateConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverCertificateConfig(ServerCertificateConfig).- Parameters:
serverCertificateConfig- a consumer that will call methods onServerCertificateConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authenticationType
An enumerated string that specifies the authentication type.
-
CUSTOM_AUTH_X509- Use custom authentication and authorization with additional details from the X.509 client certificate.
-
CUSTOM_AUTH- Use custom authentication and authorization. For more information, see Custom authentication and authorization.
-
AWS_X509- Use X.509 client certificates without custom authentication and authorization. For more information, see X.509 client certificates.
-
AWS_SIGV4- Use Amazon Web Services Signature Version 4. For more information, see IAM users, groups, and roles.
-
DEFAULT- Use a combination of port and Application Layer Protocol Negotiation (ALPN) to specify authentication type. For more information, see Device communication protocols.
- Parameters:
authenticationType- An enumerated string that specifies the authentication type.-
CUSTOM_AUTH_X509- Use custom authentication and authorization with additional details from the X.509 client certificate.
-
CUSTOM_AUTH- Use custom authentication and authorization. For more information, see Custom authentication and authorization.
-
AWS_X509- Use X.509 client certificates without custom authentication and authorization. For more information, see X.509 client certificates.
-
AWS_SIGV4- Use Amazon Web Services Signature Version 4. For more information, see IAM users, groups, and roles.
-
DEFAULT- Use a combination of port and Application Layer Protocol Negotiation (ALPN) to specify authentication type. For more information, see Device communication protocols.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
authenticationType
An enumerated string that specifies the authentication type.
-
CUSTOM_AUTH_X509- Use custom authentication and authorization with additional details from the X.509 client certificate.
-
CUSTOM_AUTH- Use custom authentication and authorization. For more information, see Custom authentication and authorization.
-
AWS_X509- Use X.509 client certificates without custom authentication and authorization. For more information, see X.509 client certificates.
-
AWS_SIGV4- Use Amazon Web Services Signature Version 4. For more information, see IAM users, groups, and roles.
-
DEFAULT- Use a combination of port and Application Layer Protocol Negotiation (ALPN) to specify authentication type. For more information, see Device communication protocols.
- Parameters:
authenticationType- An enumerated string that specifies the authentication type.-
CUSTOM_AUTH_X509- Use custom authentication and authorization with additional details from the X.509 client certificate.
-
CUSTOM_AUTH- Use custom authentication and authorization. For more information, see Custom authentication and authorization.
-
AWS_X509- Use X.509 client certificates without custom authentication and authorization. For more information, see X.509 client certificates.
-
AWS_SIGV4- Use Amazon Web Services Signature Version 4. For more information, see IAM users, groups, and roles.
-
DEFAULT- Use a combination of port and Application Layer Protocol Negotiation (ALPN) to specify authentication type. For more information, see Device communication protocols.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
applicationProtocol
An enumerated string that specifies the application-layer protocol.
-
SECURE_MQTT- MQTT over TLS.
-
MQTT_WSS- MQTT over WebSocket.
-
HTTPS- HTTP over TLS.
-
DEFAULT- Use a combination of port and Application Layer Protocol Negotiation (ALPN) to specify application_layer protocol. For more information, see Device communication protocols.
- Parameters:
applicationProtocol- An enumerated string that specifies the application-layer protocol.-
SECURE_MQTT- MQTT over TLS.
-
MQTT_WSS- MQTT over WebSocket.
-
HTTPS- HTTP over TLS.
-
DEFAULT- Use a combination of port and Application Layer Protocol Negotiation (ALPN) to specify application_layer protocol. For more information, see Device communication protocols.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
applicationProtocol
UpdateDomainConfigurationRequest.Builder applicationProtocol(ApplicationProtocol applicationProtocol) An enumerated string that specifies the application-layer protocol.
-
SECURE_MQTT- MQTT over TLS.
-
MQTT_WSS- MQTT over WebSocket.
-
HTTPS- HTTP over TLS.
-
DEFAULT- Use a combination of port and Application Layer Protocol Negotiation (ALPN) to specify application_layer protocol. For more information, see Device communication protocols.
- Parameters:
applicationProtocol- An enumerated string that specifies the application-layer protocol.-
SECURE_MQTT- MQTT over TLS.
-
MQTT_WSS- MQTT over WebSocket.
-
HTTPS- HTTP over TLS.
-
DEFAULT- Use a combination of port and Application Layer Protocol Negotiation (ALPN) to specify application_layer protocol. For more information, see Device communication protocols.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
clientCertificateConfig
UpdateDomainConfigurationRequest.Builder clientCertificateConfig(ClientCertificateConfig clientCertificateConfig) An object that specifies the client certificate configuration for a domain.
- Parameters:
clientCertificateConfig- An object that specifies the client certificate configuration for a domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientCertificateConfig
default UpdateDomainConfigurationRequest.Builder clientCertificateConfig(Consumer<ClientCertificateConfig.Builder> clientCertificateConfig) An object that specifies the client certificate configuration for a domain.
This is a convenience method that creates an instance of theClientCertificateConfig.Builderavoiding the need to create one manually viaClientCertificateConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclientCertificateConfig(ClientCertificateConfig).- Parameters:
clientCertificateConfig- a consumer that will call methods onClientCertificateConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateDomainConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateDomainConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-