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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description OpsItemRelatedItemSummary.BuilderassociationId(String associationId)The association ID.OpsItemRelatedItemSummary.BuilderassociationType(String associationType)The association type.default OpsItemRelatedItemSummary.BuildercreatedBy(Consumer<OpsItemIdentity.Builder> createdBy)Sets the value of the CreatedBy property for this object.OpsItemRelatedItemSummary.BuildercreatedBy(OpsItemIdentity createdBy)Sets the value of the CreatedBy property for this object.OpsItemRelatedItemSummary.BuildercreatedTime(Instant createdTime)The time the related-item association was created.default OpsItemRelatedItemSummary.BuilderlastModifiedBy(Consumer<OpsItemIdentity.Builder> lastModifiedBy)Sets the value of the LastModifiedBy property for this object.OpsItemRelatedItemSummary.BuilderlastModifiedBy(OpsItemIdentity lastModifiedBy)Sets the value of the LastModifiedBy property for this object.OpsItemRelatedItemSummary.BuilderlastModifiedTime(Instant lastModifiedTime)The time the related-item association was last updated.OpsItemRelatedItemSummary.BuilderopsItemId(String opsItemId)The OpsItem ID.OpsItemRelatedItemSummary.BuilderresourceType(String resourceType)The resource type.OpsItemRelatedItemSummary.BuilderresourceUri(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 Detail
-
opsItemId
OpsItemRelatedItemSummary.Builder opsItemId(String 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
OpsItemRelatedItemSummary.Builder associationId(String 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
OpsItemRelatedItemSummary.Builder resourceType(String 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
OpsItemRelatedItemSummary.Builder associationType(String 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
OpsItemRelatedItemSummary.Builder resourceUri(String 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
OpsItemRelatedItemSummary.Builder createdBy(OpsItemIdentity 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
default OpsItemRelatedItemSummary.Builder createdBy(Consumer<OpsItemIdentity.Builder> createdBy)
Sets the value of the CreatedBy property for this object. This is a convenience method that creates an instance of theOpsItemIdentity.Builderavoiding the need to create one manually viaOpsItemIdentity.builder().When the
Consumercompletes,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:
createdBy(OpsItemIdentity)
-
createdTime
OpsItemRelatedItemSummary.Builder createdTime(Instant 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
OpsItemRelatedItemSummary.Builder lastModifiedBy(OpsItemIdentity 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.Builderavoiding the need to create one manually viaOpsItemIdentity.builder().When the
Consumercompletes,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:
lastModifiedBy(OpsItemIdentity)
-
lastModifiedTime
OpsItemRelatedItemSummary.Builder lastModifiedTime(Instant 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.
-
-