Interface CoreNetworkPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CoreNetworkPolicy.Builder,CoreNetworkPolicy>,SdkBuilder<CoreNetworkPolicy.Builder,CoreNetworkPolicy>,SdkPojo
- Enclosing class:
- CoreNetworkPolicy
public static interface CoreNetworkPolicy.Builder extends SdkPojo, CopyableBuilder<CoreNetworkPolicy.Builder,CoreNetworkPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CoreNetworkPolicy.Builderalias(String alias)Whether a core network policy is the current LIVE policy or the most recently submitted policy.CoreNetworkPolicy.Builderalias(CoreNetworkPolicyAlias alias)Whether a core network policy is the current LIVE policy or the most recently submitted policy.CoreNetworkPolicy.BuilderchangeSetState(String changeSetState)The state of a core network policy.CoreNetworkPolicy.BuilderchangeSetState(ChangeSetState changeSetState)The state of a core network policy.CoreNetworkPolicy.BuildercoreNetworkId(String coreNetworkId)The ID of a core network.CoreNetworkPolicy.BuildercreatedAt(Instant createdAt)The timestamp when a core network policy was created.CoreNetworkPolicy.Builderdescription(String description)The description of a core network policy.CoreNetworkPolicy.BuilderpolicyDocument(String policyDocument)Describes a core network policy.CoreNetworkPolicy.BuilderpolicyErrors(Collection<CoreNetworkPolicyError> policyErrors)Describes any errors in a core network policy.CoreNetworkPolicy.BuilderpolicyErrors(Consumer<CoreNetworkPolicyError.Builder>... policyErrors)Describes any errors in a core network policy.CoreNetworkPolicy.BuilderpolicyErrors(CoreNetworkPolicyError... policyErrors)Describes any errors in a core network policy.CoreNetworkPolicy.BuilderpolicyVersionId(Integer policyVersionId)The ID of the policy version.-
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
-
coreNetworkId
CoreNetworkPolicy.Builder coreNetworkId(String coreNetworkId)
The ID of a core network.
- Parameters:
coreNetworkId- The ID of a core network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyVersionId
CoreNetworkPolicy.Builder policyVersionId(Integer policyVersionId)
The ID of the policy version.
- Parameters:
policyVersionId- The ID of the policy version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alias
CoreNetworkPolicy.Builder alias(String alias)
Whether a core network policy is the current LIVE policy or the most recently submitted policy.
- Parameters:
alias- Whether a core network policy is the current LIVE policy or the most recently submitted policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CoreNetworkPolicyAlias,CoreNetworkPolicyAlias
-
alias
CoreNetworkPolicy.Builder alias(CoreNetworkPolicyAlias alias)
Whether a core network policy is the current LIVE policy or the most recently submitted policy.
- Parameters:
alias- Whether a core network policy is the current LIVE policy or the most recently submitted policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CoreNetworkPolicyAlias,CoreNetworkPolicyAlias
-
description
CoreNetworkPolicy.Builder description(String description)
The description of a core network policy.
- Parameters:
description- The description of a core network policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
CoreNetworkPolicy.Builder createdAt(Instant createdAt)
The timestamp when a core network policy was created.
- Parameters:
createdAt- The timestamp when a core network policy was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeSetState
CoreNetworkPolicy.Builder changeSetState(String changeSetState)
The state of a core network policy.
- Parameters:
changeSetState- The state of a core network policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeSetState,ChangeSetState
-
changeSetState
CoreNetworkPolicy.Builder changeSetState(ChangeSetState changeSetState)
The state of a core network policy.
- Parameters:
changeSetState- The state of a core network policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeSetState,ChangeSetState
-
policyErrors
CoreNetworkPolicy.Builder policyErrors(Collection<CoreNetworkPolicyError> policyErrors)
Describes any errors in a core network policy.
- Parameters:
policyErrors- Describes any errors in a core network policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyErrors
CoreNetworkPolicy.Builder policyErrors(CoreNetworkPolicyError... policyErrors)
Describes any errors in a core network policy.
- Parameters:
policyErrors- Describes any errors in a core network policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyErrors
CoreNetworkPolicy.Builder policyErrors(Consumer<CoreNetworkPolicyError.Builder>... policyErrors)
Describes any errors in a core network policy.
This is a convenience method that creates an instance of theCoreNetworkPolicyError.Builderavoiding the need to create one manually viaCoreNetworkPolicyError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#policyErrors(List.) - Parameters:
policyErrors- a consumer that will call methods onCoreNetworkPolicyError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#policyErrors(java.util.Collection)
-
policyDocument
CoreNetworkPolicy.Builder policyDocument(String policyDocument)
Describes a core network policy.
- Parameters:
policyDocument- Describes a core network policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-