Interface DomainPackageDetails.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<DomainPackageDetails.Builder,DomainPackageDetails>
,SdkBuilder<DomainPackageDetails.Builder,DomainPackageDetails>
,SdkPojo
- Enclosing class:
- DomainPackageDetails
public static interface DomainPackageDetails.Builder extends SdkPojo, CopyableBuilder<DomainPackageDetails.Builder,DomainPackageDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DomainPackageDetails.Builder
domainName(String domainName)
Name of the domain you've associated a package with.DomainPackageDetails.Builder
domainPackageStatus(String domainPackageStatus)
State of the association.DomainPackageDetails.Builder
domainPackageStatus(DomainPackageStatus domainPackageStatus)
State of the association.default DomainPackageDetails.Builder
errorDetails(Consumer<ErrorDetails.Builder> errorDetails)
Additional information if the package is in an error state.DomainPackageDetails.Builder
errorDetails(ErrorDetails errorDetails)
Additional information if the package is in an error state.DomainPackageDetails.Builder
lastUpdated(Instant lastUpdated)
Timestamp of the most-recent update to the association status.DomainPackageDetails.Builder
packageID(String packageID)
Internal ID of the package.DomainPackageDetails.Builder
packageName(String packageName)
User specified name of the package.DomainPackageDetails.Builder
packageType(String packageType)
Currently supports only TXT-DICTIONARY.DomainPackageDetails.Builder
packageType(PackageType packageType)
Currently supports only TXT-DICTIONARY.DomainPackageDetails.Builder
packageVersion(String packageVersion)
Sets the value of the PackageVersion property for this object.DomainPackageDetails.Builder
referencePath(String referencePath)
The relative path on Amazon ES nodes, which can be used as synonym_path when the package is synonym file.-
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
-
packageID
DomainPackageDetails.Builder packageID(String packageID)
Internal ID of the package.
- Parameters:
packageID
- Internal ID of the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageName
DomainPackageDetails.Builder packageName(String packageName)
User specified name of the package.
- Parameters:
packageName
- User specified name of the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageType
DomainPackageDetails.Builder packageType(String packageType)
Currently supports only TXT-DICTIONARY.
- Parameters:
packageType
- Currently supports only TXT-DICTIONARY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PackageType
,PackageType
-
packageType
DomainPackageDetails.Builder packageType(PackageType packageType)
Currently supports only TXT-DICTIONARY.
- Parameters:
packageType
- Currently supports only TXT-DICTIONARY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PackageType
,PackageType
-
lastUpdated
DomainPackageDetails.Builder lastUpdated(Instant lastUpdated)
Timestamp of the most-recent update to the association status.
- Parameters:
lastUpdated
- Timestamp of the most-recent update to the association status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainName
DomainPackageDetails.Builder domainName(String domainName)
Name of the domain you've associated a package with.
- Parameters:
domainName
- Name of the domain you've associated a package with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainPackageStatus
DomainPackageDetails.Builder domainPackageStatus(String domainPackageStatus)
State of the association. Values are ASSOCIATING/ASSOCIATION_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION_FAILED.
- Parameters:
domainPackageStatus
- State of the association. Values are ASSOCIATING/ASSOCIATION_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION_FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DomainPackageStatus
,DomainPackageStatus
-
domainPackageStatus
DomainPackageDetails.Builder domainPackageStatus(DomainPackageStatus domainPackageStatus)
State of the association. Values are ASSOCIATING/ASSOCIATION_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION_FAILED.
- Parameters:
domainPackageStatus
- State of the association. Values are ASSOCIATING/ASSOCIATION_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION_FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DomainPackageStatus
,DomainPackageStatus
-
packageVersion
DomainPackageDetails.Builder packageVersion(String packageVersion)
Sets the value of the PackageVersion property for this object.- Parameters:
packageVersion
- The new value for the PackageVersion property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referencePath
DomainPackageDetails.Builder referencePath(String referencePath)
The relative path on Amazon ES nodes, which can be used as synonym_path when the package is synonym file.
- Parameters:
referencePath
- The relative path on Amazon ES nodes, which can be used as synonym_path when the package is synonym file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
DomainPackageDetails.Builder errorDetails(ErrorDetails errorDetails)
Additional information if the package is in an error state. Null otherwise.
- Parameters:
errorDetails
- Additional information if the package is in an error state. Null otherwise.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
default DomainPackageDetails.Builder errorDetails(Consumer<ErrorDetails.Builder> errorDetails)
Additional information if the package is in an error state. Null otherwise.
This is a convenience method that creates an instance of theErrorDetails.Builder
avoiding the need to create one manually viaErrorDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorDetails(ErrorDetails)
.- Parameters:
errorDetails
- a consumer that will call methods onErrorDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
errorDetails(ErrorDetails)
-
-