Interface AvailabilityConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AvailabilityConfiguration.Builder,
,AvailabilityConfiguration> SdkBuilder<AvailabilityConfiguration.Builder,
,AvailabilityConfiguration> SdkPojo
- Enclosing class:
AvailabilityConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondateCreated
(Instant dateCreated) The date and time at which the availability configuration was created.dateModified
(Instant dateModified) The date and time at which the availability configuration was last modified.domainName
(String domainName) Displays the domain to which the provider applies.ewsProvider
(Consumer<RedactedEwsAvailabilityProvider.Builder> ewsProvider) IfProviderType
isEWS
, then this field containsRedactedEwsAvailabilityProvider
.ewsProvider
(RedactedEwsAvailabilityProvider ewsProvider) IfProviderType
isEWS
, then this field containsRedactedEwsAvailabilityProvider
.lambdaProvider
(Consumer<LambdaAvailabilityProvider.Builder> lambdaProvider) If ProviderType isLAMBDA
then this field containsLambdaAvailabilityProvider
.lambdaProvider
(LambdaAvailabilityProvider lambdaProvider) If ProviderType isLAMBDA
then this field containsLambdaAvailabilityProvider
.providerType
(String providerType) Displays the provider type that applies to this domain.providerType
(AvailabilityProviderType providerType) Displays the provider type that applies to this domain.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
domainName
Displays the domain to which the provider applies.
- Parameters:
domainName
- Displays the domain to which the provider applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerType
Displays the provider type that applies to this domain.
- Parameters:
providerType
- Displays the provider type that applies to this domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
providerType
Displays the provider type that applies to this domain.
- Parameters:
providerType
- Displays the provider type that applies to this domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ewsProvider
If
ProviderType
isEWS
, then this field containsRedactedEwsAvailabilityProvider
. Otherwise, it is not required.- Parameters:
ewsProvider
- IfProviderType
isEWS
, then this field containsRedactedEwsAvailabilityProvider
. Otherwise, it is not required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ewsProvider
default AvailabilityConfiguration.Builder ewsProvider(Consumer<RedactedEwsAvailabilityProvider.Builder> ewsProvider) If
This is a convenience method that creates an instance of theProviderType
isEWS
, then this field containsRedactedEwsAvailabilityProvider
. Otherwise, it is not required.RedactedEwsAvailabilityProvider.Builder
avoiding the need to create one manually viaRedactedEwsAvailabilityProvider.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toewsProvider(RedactedEwsAvailabilityProvider)
.- Parameters:
ewsProvider
- a consumer that will call methods onRedactedEwsAvailabilityProvider.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lambdaProvider
If ProviderType is
LAMBDA
then this field containsLambdaAvailabilityProvider
. Otherwise, it is not required.- Parameters:
lambdaProvider
- If ProviderType isLAMBDA
then this field containsLambdaAvailabilityProvider
. Otherwise, it is not required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaProvider
default AvailabilityConfiguration.Builder lambdaProvider(Consumer<LambdaAvailabilityProvider.Builder> lambdaProvider) If ProviderType is
This is a convenience method that creates an instance of theLAMBDA
then this field containsLambdaAvailabilityProvider
. Otherwise, it is not required.LambdaAvailabilityProvider.Builder
avoiding the need to create one manually viaLambdaAvailabilityProvider.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolambdaProvider(LambdaAvailabilityProvider)
.- Parameters:
lambdaProvider
- a consumer that will call methods onLambdaAvailabilityProvider.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dateCreated
The date and time at which the availability configuration was created.
- Parameters:
dateCreated
- The date and time at which the availability configuration was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dateModified
The date and time at which the availability configuration was last modified.
- Parameters:
dateModified
- The date and time at which the availability configuration was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-