Interface GetResourceSnapshotResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetResourceSnapshotResponse.Builder,GetResourceSnapshotResponse>,PartnerCentralSellingResponse.Builder,SdkBuilder<GetResourceSnapshotResponse.Builder,GetResourceSnapshotResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetResourceSnapshotResponse
public static interface GetResourceSnapshotResponse.Builder extends PartnerCentralSellingResponse.Builder, SdkPojo, CopyableBuilder<GetResourceSnapshotResponse.Builder,GetResourceSnapshotResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetResourceSnapshotResponse.Builderarn(String arn)The Amazon Resource Name (ARN) that uniquely identifies the resource snapshot.GetResourceSnapshotResponse.Buildercatalog(String catalog)The catalog in which the snapshot was created.GetResourceSnapshotResponse.BuildercreatedAt(Instant createdAt)The timestamp when the snapshot was created, in ISO 8601 format (e.g., "2023-06-01T14:30:00Z").GetResourceSnapshotResponse.BuildercreatedBy(String createdBy)The AWS account ID of the principal (user or role) who created the snapshot.GetResourceSnapshotResponse.BuilderengagementId(String engagementId)The identifier of the engagement associated with this snapshot.default GetResourceSnapshotResponse.Builderpayload(Consumer<ResourceSnapshotPayload.Builder> payload)Sets the value of the Payload property for this object.GetResourceSnapshotResponse.Builderpayload(ResourceSnapshotPayload payload)Sets the value of the Payload property for this object.GetResourceSnapshotResponse.BuilderresourceId(String resourceId)The identifier of the specific resource that was snapshotted.GetResourceSnapshotResponse.BuilderresourceSnapshotTemplateName(String resourceSnapshotTemplateName)The name of the view used for this snapshot.GetResourceSnapshotResponse.BuilderresourceType(String resourceType)The type of the resource that was snapshotted.GetResourceSnapshotResponse.BuilderresourceType(ResourceType resourceType)The type of the resource that was snapshotted.GetResourceSnapshotResponse.Builderrevision(Integer revision)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 Detail
-
arn
GetResourceSnapshotResponse.Builder arn(String 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
GetResourceSnapshotResponse.Builder catalog(String 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
GetResourceSnapshotResponse.Builder createdAt(Instant 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
GetResourceSnapshotResponse.Builder createdBy(String 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
GetResourceSnapshotResponse.Builder engagementId(String 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
GetResourceSnapshotResponse.Builder payload(ResourceSnapshotPayload 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.Builderavoiding the need to create one manually viaResourceSnapshotPayload.builder().When the
Consumercompletes,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:
payload(ResourceSnapshotPayload)
-
resourceId
GetResourceSnapshotResponse.Builder resourceId(String 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
GetResourceSnapshotResponse.Builder resourceType(String 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,ResourceType
-
resourceType
GetResourceSnapshotResponse.Builder resourceType(ResourceType 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,ResourceType
-
revision
GetResourceSnapshotResponse.Builder revision(Integer 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.
-
-