Interface VmEntitlement.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VmEntitlement.Builder,,VmEntitlement> SdkBuilder<VmEntitlement.Builder,,VmEntitlement> SdkPojo
- Enclosing class:
VmEntitlement
@Mutable
@NotThreadSafe
public static interface VmEntitlement.Builder
extends SdkPojo, CopyableBuilder<VmEntitlement.Builder,VmEntitlement>
-
Method Summary
Modifier and TypeMethodDescriptionconnectorId(String connectorId) The unique ID of the connector associated with the entitlement.environmentId(String environmentId) The unique ID of the environment.default VmEntitlement.BuildererrorDetail(Consumer<ErrorDetail.Builder> errorDetail) The error details associated with the entitlement, if applicable.errorDetail(ErrorDetail errorDetail) The error details associated with the entitlement, if applicable.lastSyncedAt(Instant lastSyncedAt) The date and time that the entitlement was last synced.The date and time that the entitlement started.The status of the entitlement.status(EntitlementStatus status) The status of the entitlement.The date and time that the entitlement stopped.The type of entitlement.type(EntitlementType type) The type of entitlement.The unique ID of the virtual machine.The name of the virtual machine.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
vmId
The unique ID of the virtual machine.
- Parameters:
vmId- The unique ID of the virtual machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentId
The unique ID of the environment.
- Parameters:
environmentId- The unique ID of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorId
The unique ID of the connector associated with the entitlement.
- Parameters:
connectorId- The unique ID of the connector associated with the entitlement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vmName
The name of the virtual machine.
- Parameters:
vmName- The name of the virtual machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of entitlement.
- Parameters:
type- The type of entitlement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of entitlement.
- Parameters:
type- The type of entitlement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the entitlement.
- Parameters:
status- The status of the entitlement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the entitlement.
- Parameters:
status- The status of the entitlement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastSyncedAt
The date and time that the entitlement was last synced.
- Parameters:
lastSyncedAt- The date and time that the entitlement was last synced.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
The date and time that the entitlement started.
- Parameters:
startedAt- The date and time that the entitlement started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stoppedAt
The date and time that the entitlement stopped.
- Parameters:
stoppedAt- The date and time that the entitlement stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetail
The error details associated with the entitlement, if applicable.
- Parameters:
errorDetail- The error details associated with the entitlement, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetail
The error details associated with the entitlement, if applicable.
This is a convenience method that creates an instance of theErrorDetail.Builderavoiding the need to create one manually viaErrorDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrorDetail(ErrorDetail).- Parameters:
errorDetail- a consumer that will call methods onErrorDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-