Interface GetResourceSnapshotResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetResourceSnapshotResponse.Builder,
,GetResourceSnapshotResponse> PartnerCentralSellingResponse.Builder
,SdkBuilder<GetResourceSnapshotResponse.Builder,
,GetResourceSnapshotResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetResourceSnapshotResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) that uniquely identifies the resource snapshot.The catalog in which the snapshot was created.The timestamp when the snapshot was created, in ISO 8601 format (e.g., "2023-06-01T14:30:00Z").The AWS account ID of the principal (user or role) who created the snapshot.engagementId
(String engagementId) The identifier of the engagement associated with this snapshot.payload
(Consumer<ResourceSnapshotPayload.Builder> payload) Sets the value of the Payload property for this object.payload
(ResourceSnapshotPayload payload) Sets the value of the Payload property for this object.resourceId
(String resourceId) The identifier of the specific resource that was snapshotted.resourceSnapshotTemplateName
(String resourceSnapshotTemplateName) The name of the view used for this snapshot.resourceType
(String resourceType) The type of the resource that was snapshotted.resourceType
(ResourceType resourceType) The type of the resource that was snapshotted.The revision number of this snapshot.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
arn
The Amazon Resource Name (ARN) that uniquely identifies the resource snapshot.
- Parameters:
arn
- The Amazon Resource Name (ARN) that uniquely identifies the resource snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
catalog
The catalog in which the snapshot was created. Matches the Catalog specified in the request.
- Parameters:
catalog
- The catalog in which the snapshot was created. Matches the Catalog specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the snapshot was created, in ISO 8601 format (e.g., "2023-06-01T14:30:00Z"). This allows for precise tracking of when the snapshot was taken.
- Parameters:
createdAt
- The timestamp when the snapshot was created, in ISO 8601 format (e.g., "2023-06-01T14:30:00Z"). This allows for precise tracking of when the snapshot was taken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The AWS account ID of the principal (user or role) who created the snapshot. This helps in tracking the origin of the snapshot.
- Parameters:
createdBy
- The AWS account ID of the principal (user or role) who created the snapshot. This helps in tracking the origin of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engagementId
The identifier of the engagement associated with this snapshot. Matches the EngagementIdentifier specified in the request.
- Parameters:
engagementId
- The identifier of the engagement associated with this snapshot. Matches the EngagementIdentifier specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
Sets the value of the Payload property for this object.- Parameters:
payload
- The new value for the Payload property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
default GetResourceSnapshotResponse.Builder payload(Consumer<ResourceSnapshotPayload.Builder> payload) Sets the value of the Payload property for this object. This is a convenience method that creates an instance of theResourceSnapshotPayload.Builder
avoiding the need to create one manually viaResourceSnapshotPayload.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topayload(ResourceSnapshotPayload)
.- Parameters:
payload
- a consumer that will call methods onResourceSnapshotPayload.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceId
The identifier of the specific resource that was snapshotted. Matches the ResourceIdentifier specified in the request.
- Parameters:
resourceId
- The identifier of the specific resource that was snapshotted. Matches the ResourceIdentifier specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSnapshotTemplateName
GetResourceSnapshotResponse.Builder resourceSnapshotTemplateName(String resourceSnapshotTemplateName) The name of the view used for this snapshot. This is the same as the template name.
- Parameters:
resourceSnapshotTemplateName
- The name of the view used for this snapshot. This is the same as the template name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The type of the resource that was snapshotted. Matches the ResourceType specified in the request.
- Parameters:
resourceType
- The type of the resource that was snapshotted. Matches the ResourceType specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The type of the resource that was snapshotted. Matches the ResourceType specified in the request.
- Parameters:
resourceType
- The type of the resource that was snapshotted. Matches the ResourceType specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
revision
The revision number of this snapshot. This is a positive integer that is sequential and unique within the context of a resource view.
- Parameters:
revision
- The revision number of this snapshot. This is a positive integer that is sequential and unique within the context of a resource view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-