Interface CreateScopeSnapshotResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateScopeSnapshotResponse.Builder,,CreateScopeSnapshotResponse> NetworkSecurityManagerResponse.Builder,SdkBuilder<CreateScopeSnapshotResponse.Builder,,CreateScopeSnapshotResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateScopeSnapshotResponse
-
Method Summary
Modifier and TypeMethodDescriptionhasPublishedVersion(Boolean hasPublishedVersion) Specifies whether a published version of the resource exists.isSnapshot(Boolean isSnapshot) Specifies whether the resource is a snapshot of a published version.The Amazon Resource Name (ARN) of the scope.scopeConfiguration(Consumer<ScopeConfiguration.Builder> scopeConfiguration) The configuration that defines which accounts and resources are in scope.scopeConfiguration(ScopeConfiguration scopeConfiguration) The configuration that defines which accounts and resources are in scope.scopeDescription(String scopeDescription) A description of the scope.The service-generated id of the scope.The name of the scope.specializedScopeType(String specializedScopeType) The specialized type of the scope, if the scope is built for one specific purpose.specializedScopeType(SpecializedScopeType specializedScopeType) The specialized type of the scope, if the scope is built for one specific purpose.The current status of the resource:DRAFT(unpublished, editable) orACTIVE(published, in use).status(EntityStatus status) The current status of the resource:DRAFT(unpublished, editable) orACTIVE(published, in use).The time when the snapshot was created.updateToken(String updateToken) A token used for optimistic concurrency control.The version of the resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networksecuritymanager.model.NetworkSecurityManagerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
scopeId
The service-generated id of the scope.
- Parameters:
scopeId- The service-generated id of the scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeArn
The Amazon Resource Name (ARN) of the scope.
- Parameters:
scopeArn- The Amazon Resource Name (ARN) of the scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeName
The name of the scope.
- Parameters:
scopeName- The name of the scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeDescription
A description of the scope.
- Parameters:
scopeDescription- A description of the scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeConfiguration
The configuration that defines which accounts and resources are in scope.
- Parameters:
scopeConfiguration- The configuration that defines which accounts and resources are in scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeConfiguration
default CreateScopeSnapshotResponse.Builder scopeConfiguration(Consumer<ScopeConfiguration.Builder> scopeConfiguration) The configuration that defines which accounts and resources are in scope.
This is a convenience method that creates an instance of theScopeConfiguration.Builderavoiding the need to create one manually viaScopeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscopeConfiguration(ScopeConfiguration).- Parameters:
scopeConfiguration- a consumer that will call methods onScopeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
specializedScopeType
The specialized type of the scope, if the scope is built for one specific purpose. A scope with no
specializedScopeTypeis a standard scope that you can associate with a deployment. A specialized scope can be used only for the purpose that its type defines and can't be associated with a deployment. This value is set when the scope is created and can't be changed.- Parameters:
specializedScopeType- The specialized type of the scope, if the scope is built for one specific purpose. A scope with nospecializedScopeTypeis a standard scope that you can associate with a deployment. A specialized scope can be used only for the purpose that its type defines and can't be associated with a deployment. This value is set when the scope is created and can't be changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
specializedScopeType
The specialized type of the scope, if the scope is built for one specific purpose. A scope with no
specializedScopeTypeis a standard scope that you can associate with a deployment. A specialized scope can be used only for the purpose that its type defines and can't be associated with a deployment. This value is set when the scope is created and can't be changed.- Parameters:
specializedScopeType- The specialized type of the scope, if the scope is built for one specific purpose. A scope with nospecializedScopeTypeis a standard scope that you can associate with a deployment. A specialized scope can be used only for the purpose that its type defines and can't be associated with a deployment. This value is set when the scope is created and can't be changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the resource:
DRAFT(unpublished, editable) orACTIVE(published, in use).- Parameters:
status- The current status of the resource:DRAFT(unpublished, editable) orACTIVE(published, in use).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the resource:
DRAFT(unpublished, editable) orACTIVE(published, in use).- Parameters:
status- The current status of the resource:DRAFT(unpublished, editable) orACTIVE(published, in use).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
version
The version of the resource.
- Parameters:
version- The version of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateToken
A token used for optimistic concurrency control. Each read and write returns an
updateToken. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.- Parameters:
updateToken- A token used for optimistic concurrency control. Each read and write returns anupdateToken. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isSnapshot
Specifies whether the resource is a snapshot of a published version.
- Parameters:
isSnapshot- Specifies whether the resource is a snapshot of a published version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hasPublishedVersion
Specifies whether a published version of the resource exists.
- Parameters:
hasPublishedVersion- Specifies whether a published version of the resource exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time when the snapshot was created.
- Parameters:
updatedAt- The time when the snapshot was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-