Interface NetworkScopeSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkScopeSummary.Builder,,NetworkScopeSummary> SdkBuilder<NetworkScopeSummary.Builder,,NetworkScopeSummary> SdkPojo
- Enclosing class:
NetworkScopeSummary
-
Method Summary
Modifier and TypeMethodDescriptionaccessMode(String accessMode) How the network scope admits principals.accessMode(NetworkScopeAccessMode accessMode) How the network scope admits principals.The date and time that the network scope was created.The name of the network scope.networkScopeArn(String networkScopeArn) The Amazon Resource Name (ARN) of the network scope.networkScopeId(String networkScopeId) The ID of the network scope.The state of the network scope.state(NetworkScopeState state) The state of the network scope.default NetworkScopeSummary.BuilderstateReason(Consumer<NetworkScopeStateReason.Builder> stateReason) The reason for the current state of the network scope, if a reason applies.stateReason(NetworkScopeStateReason stateReason) The reason for the current state of the network scope, if a reason applies.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
-
networkScopeId
The ID of the network scope.
- Parameters:
networkScopeId- The ID of the network scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkScopeArn
The Amazon Resource Name (ARN) of the network scope.
- Parameters:
networkScopeArn- The Amazon Resource Name (ARN) of the network scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the network scope.
- Parameters:
name- The name of the network scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessMode
How the network scope admits principals. Each principal must be the ID of an AWS account that has the AWS Network Manager service-linked role. With
ACCOUNTS, the account can be any AWS account. WithORGANIZATIONS, the account that owns the network scope must be the management account or a delegated administrator for AWS Network Manager in its organization, and each principal must be an active member account of that organization. A delegated administrator can't add the management account. You choose the access mode when you create the network scope, and you can't change it.- Parameters:
accessMode- How the network scope admits principals. Each principal must be the ID of an AWS account that has the AWS Network Manager service-linked role. WithACCOUNTS, the account can be any AWS account. WithORGANIZATIONS, the account that owns the network scope must be the management account or a delegated administrator for AWS Network Manager in its organization, and each principal must be an active member account of that organization. A delegated administrator can't add the management account. You choose the access mode when you create the network scope, and you can't change it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accessMode
How the network scope admits principals. Each principal must be the ID of an AWS account that has the AWS Network Manager service-linked role. With
ACCOUNTS, the account can be any AWS account. WithORGANIZATIONS, the account that owns the network scope must be the management account or a delegated administrator for AWS Network Manager in its organization, and each principal must be an active member account of that organization. A delegated administrator can't add the management account. You choose the access mode when you create the network scope, and you can't change it.- Parameters:
accessMode- How the network scope admits principals. Each principal must be the ID of an AWS account that has the AWS Network Manager service-linked role. WithACCOUNTS, the account can be any AWS account. WithORGANIZATIONS, the account that owns the network scope must be the management account or a delegated administrator for AWS Network Manager in its organization, and each principal must be an active member account of that organization. A delegated administrator can't add the management account. You choose the access mode when you create the network scope, and you can't change it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the network scope. To see the Regions of the network scope, call
GetNetworkScope.- Parameters:
state- The state of the network scope. To see the Regions of the network scope, callGetNetworkScope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the network scope. To see the Regions of the network scope, call
GetNetworkScope.- Parameters:
state- The state of the network scope. To see the Regions of the network scope, callGetNetworkScope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateReason
The reason for the current state of the network scope, if a reason applies.
- Parameters:
stateReason- The reason for the current state of the network scope, if a reason applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateReason
default NetworkScopeSummary.Builder stateReason(Consumer<NetworkScopeStateReason.Builder> stateReason) The reason for the current state of the network scope, if a reason applies.
This is a convenience method that creates an instance of theNetworkScopeStateReason.Builderavoiding the need to create one manually viaNetworkScopeStateReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostateReason(NetworkScopeStateReason).- Parameters:
stateReason- a consumer that will call methods onNetworkScopeStateReason.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date and time that the network scope was created.
- Parameters:
createdAt- The date and time that the network scope was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-