Interface Instance.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Instance.Builder,Instance>,SdkBuilder<Instance.Builder,Instance>,SdkPojo
- Enclosing class:
- Instance
public static interface Instance.Builder extends SdkPojo, CopyableBuilder<Instance.Builder,Instance>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Instance.BuilderaccountID(String accountID)The account ID which owns the instance.Instance.BuilderamiId(String amiId)The AMI ID used to launch the instance.Instance.BuilderinstanceID(String instanceID)The instance ID of the resource.Instance.BuilderinstanceType(String instanceType)The instance type of the resource.Instance.BuilderlastUpdatedTime(String lastUpdatedTime)The time in which the last discovery updated the instance details.Instance.BuilderproductCode(String... productCode)The product code for the instance.Instance.BuilderproductCode(Collection<String> productCode)The product code for the instance.Instance.Builderregion(String region)The Region the instance is running in.Instance.Builderstatus(String status)The status of the instance.Instance.BuildersubscriptionName(String subscriptionName)The name of the subscription being used by the instance.Instance.BuilderusageOperation(String usageOperation)The usage operation of the instance.-
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
-
accountID
Instance.Builder accountID(String accountID)
The account ID which owns the instance.
- Parameters:
accountID- The account ID which owns the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amiId
Instance.Builder amiId(String amiId)
The AMI ID used to launch the instance.
- Parameters:
amiId- The AMI ID used to launch the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceID
Instance.Builder instanceID(String instanceID)
The instance ID of the resource.
- Parameters:
instanceID- The instance ID of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
Instance.Builder instanceType(String instanceType)
The instance type of the resource.
- Parameters:
instanceType- The instance type of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
Instance.Builder lastUpdatedTime(String lastUpdatedTime)
The time in which the last discovery updated the instance details.
- Parameters:
lastUpdatedTime- The time in which the last discovery updated the instance details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productCode
Instance.Builder productCode(Collection<String> productCode)
The product code for the instance. For more information, see Usage operation values in the License Manager User Guide .
- Parameters:
productCode- The product code for the instance. For more information, see Usage operation values in the License Manager User Guide .- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productCode
Instance.Builder productCode(String... productCode)
The product code for the instance. For more information, see Usage operation values in the License Manager User Guide .
- Parameters:
productCode- The product code for the instance. For more information, see Usage operation values in the License Manager User Guide .- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
Instance.Builder region(String region)
The Region the instance is running in.
- Parameters:
region- The Region the instance is running in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Instance.Builder status(String status)
The status of the instance.
- Parameters:
status- The status of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptionName
Instance.Builder subscriptionName(String subscriptionName)
The name of the subscription being used by the instance.
- Parameters:
subscriptionName- The name of the subscription being used by the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageOperation
Instance.Builder usageOperation(String usageOperation)
The usage operation of the instance. For more information, see For more information, see Usage operation values in the License Manager User Guide.
- Parameters:
usageOperation- The usage operation of the instance. For more information, see For more information, see Usage operation values in the License Manager User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-