Interface AvailabilityConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AvailabilityConfiguration.Builder,AvailabilityConfiguration>,SdkBuilder<AvailabilityConfiguration.Builder,AvailabilityConfiguration>,SdkPojo
- Enclosing class:
- AvailabilityConfiguration
public static interface AvailabilityConfiguration.Builder extends SdkPojo, CopyableBuilder<AvailabilityConfiguration.Builder,AvailabilityConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AvailabilityConfiguration.BuilderdateCreated(Instant dateCreated)The date and time at which the availability configuration was created.AvailabilityConfiguration.BuilderdateModified(Instant dateModified)The date and time at which the availability configuration was last modified.AvailabilityConfiguration.BuilderdomainName(String domainName)Displays the domain to which the provider applies.default AvailabilityConfiguration.BuilderewsProvider(Consumer<RedactedEwsAvailabilityProvider.Builder> ewsProvider)IfProviderTypeisEWS, then this field containsRedactedEwsAvailabilityProvider.AvailabilityConfiguration.BuilderewsProvider(RedactedEwsAvailabilityProvider ewsProvider)IfProviderTypeisEWS, then this field containsRedactedEwsAvailabilityProvider.default AvailabilityConfiguration.BuilderlambdaProvider(Consumer<LambdaAvailabilityProvider.Builder> lambdaProvider)If ProviderType isLAMBDAthen this field containsLambdaAvailabilityProvider.AvailabilityConfiguration.BuilderlambdaProvider(LambdaAvailabilityProvider lambdaProvider)If ProviderType isLAMBDAthen this field containsLambdaAvailabilityProvider.AvailabilityConfiguration.BuilderproviderType(String providerType)Displays the provider type that applies to this domain.AvailabilityConfiguration.BuilderproviderType(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 Detail
-
domainName
AvailabilityConfiguration.Builder domainName(String 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
AvailabilityConfiguration.Builder providerType(String 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:
AvailabilityProviderType,AvailabilityProviderType
-
providerType
AvailabilityConfiguration.Builder providerType(AvailabilityProviderType 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:
AvailabilityProviderType,AvailabilityProviderType
-
ewsProvider
AvailabilityConfiguration.Builder ewsProvider(RedactedEwsAvailabilityProvider 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:
ewsProvider(RedactedEwsAvailabilityProvider)
-
lambdaProvider
AvailabilityConfiguration.Builder lambdaProvider(LambdaAvailabilityProvider 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:
lambdaProvider(LambdaAvailabilityProvider)
-
dateCreated
AvailabilityConfiguration.Builder dateCreated(Instant 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
AvailabilityConfiguration.Builder dateModified(Instant 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.
-
-