Interface OpsItemRelatedItemSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OpsItemRelatedItemSummary.Builder,
,OpsItemRelatedItemSummary> SdkBuilder<OpsItemRelatedItemSummary.Builder,
,OpsItemRelatedItemSummary> SdkPojo
- Enclosing class:
OpsItemRelatedItemSummary
public static interface OpsItemRelatedItemSummary.Builder
extends SdkPojo, CopyableBuilder<OpsItemRelatedItemSummary.Builder,OpsItemRelatedItemSummary>
-
Method Summary
Modifier and TypeMethodDescriptionassociationId
(String associationId) The association ID.associationType
(String associationType) The association type.createdBy
(Consumer<OpsItemIdentity.Builder> createdBy) Sets the value of the CreatedBy property for this object.createdBy
(OpsItemIdentity createdBy) Sets the value of the CreatedBy property for this object.createdTime
(Instant createdTime) The time the related-item association was created.lastModifiedBy
(Consumer<OpsItemIdentity.Builder> lastModifiedBy) Sets the value of the LastModifiedBy property for this object.lastModifiedBy
(OpsItemIdentity lastModifiedBy) Sets the value of the LastModifiedBy property for this object.lastModifiedTime
(Instant lastModifiedTime) The time the related-item association was last updated.The OpsItem ID.resourceType
(String resourceType) The resource type.resourceUri
(String resourceUri) The Amazon Resource Name (ARN) of the related-item resource.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 Details
-
opsItemId
The OpsItem ID.
- Parameters:
opsItemId
- The OpsItem ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationId
The association ID.
- Parameters:
associationId
- The association ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The resource type.
- Parameters:
resourceType
- The resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationType
The association type.
- Parameters:
associationType
- The association type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceUri
The Amazon Resource Name (ARN) of the related-item resource.
- Parameters:
resourceUri
- The Amazon Resource Name (ARN) of the related-item resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Sets the value of the CreatedBy property for this object.- Parameters:
createdBy
- The new value for the CreatedBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Sets the value of the CreatedBy property for this object. This is a convenience method that creates an instance of theOpsItemIdentity.Builder
avoiding the need to create one manually viaOpsItemIdentity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreatedBy(OpsItemIdentity)
.- Parameters:
createdBy
- a consumer that will call methods onOpsItemIdentity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTime
The time the related-item association was created.
- Parameters:
createdTime
- The time the related-item association was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
Sets the value of the LastModifiedBy property for this object.- Parameters:
lastModifiedBy
- The new value for the LastModifiedBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
default OpsItemRelatedItemSummary.Builder lastModifiedBy(Consumer<OpsItemIdentity.Builder> lastModifiedBy) Sets the value of the LastModifiedBy property for this object. This is a convenience method that creates an instance of theOpsItemIdentity.Builder
avoiding the need to create one manually viaOpsItemIdentity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastModifiedBy(OpsItemIdentity)
.- Parameters:
lastModifiedBy
- a consumer that will call methods onOpsItemIdentity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModifiedTime
The time the related-item association was last updated.
- Parameters:
lastModifiedTime
- The time the related-item association was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-