Interface OpenSearchNetworkPolicy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OpenSearchNetworkPolicy.Builder,,OpenSearchNetworkPolicy> SdkBuilder<OpenSearchNetworkPolicy.Builder,,OpenSearchNetworkPolicy> SdkPojo
- Enclosing class:
OpenSearchNetworkPolicy
@Mutable
@NotThreadSafe
public static interface OpenSearchNetworkPolicy.Builder
extends SdkPojo, CopyableBuilder<OpenSearchNetworkPolicy.Builder,OpenSearchNetworkPolicy>
-
Method Summary
Modifier and TypeMethodDescriptionpolicyName(String policyName) The name of the network policy.default OpenSearchNetworkPolicy.BuilderThis structure contains information about the status of this OpenSearch Service resource.status(OpenSearchResourceStatus status) This structure contains information about the status of this OpenSearch Service resource.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
-
policyName
The name of the network policy.
- Parameters:
policyName- The name of the network policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
This structure contains information about the status of this OpenSearch Service resource.
- Parameters:
status- This structure contains information about the status of this OpenSearch Service resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
This structure contains information about the status of this OpenSearch Service resource.
This is a convenience method that creates an instance of theOpenSearchResourceStatus.Builderavoiding the need to create one manually viaOpenSearchResourceStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(OpenSearchResourceStatus).- Parameters:
status- a consumer that will call methods onOpenSearchResourceStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-