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) IfProviderTypeisEWS, then this field containsRedactedEwsAvailabilityProvider.ewsProvider(RedactedEwsAvailabilityProvider ewsProvider) IfProviderTypeisEWS, then this field containsRedactedEwsAvailabilityProvider.lambdaProvider(Consumer<LambdaAvailabilityProvider.Builder> lambdaProvider) If ProviderType isLAMBDAthen this field containsLambdaAvailabilityProvider.lambdaProvider(LambdaAvailabilityProvider lambdaProvider) If ProviderType isLAMBDAthen 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
ProviderTypeisEWS, then this field containsRedactedEwsAvailabilityProvider. Otherwise, it is not required.- Parameters:
ewsProvider- IfProviderTypeisEWS, 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 theProviderTypeisEWS, then this field containsRedactedEwsAvailabilityProvider. Otherwise, it is not required.RedactedEwsAvailabilityProvider.Builderavoiding the need to create one manually viaRedactedEwsAvailabilityProvider.builder().When the
Consumercompletes,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
LAMBDAthen this field containsLambdaAvailabilityProvider. Otherwise, it is not required.- Parameters:
lambdaProvider- If ProviderType isLAMBDAthen 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 theLAMBDAthen this field containsLambdaAvailabilityProvider. Otherwise, it is not required.LambdaAvailabilityProvider.Builderavoiding the need to create one manually viaLambdaAvailabilityProvider.builder().When the
Consumercompletes,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.
-