Interface InstancesToExclude.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstancesToExclude.Builder,InstancesToExclude>,SdkBuilder<InstancesToExclude.Builder,InstancesToExclude>,SdkPojo
- Enclosing class:
- InstancesToExclude
public static interface InstancesToExclude.Builder extends SdkPojo, CopyableBuilder<InstancesToExclude.Builder,InstancesToExclude>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstancesToExclude.BuilderaccountIds(String... accountIds)IDs of the accounts that own each instance that must not be stopped.InstancesToExclude.BuilderaccountIds(Collection<String> accountIds)IDs of the accounts that own each instance that must not be stopped.InstancesToExclude.Builderinstances(String... instances)List of user-specified instances that must not be stopped.InstancesToExclude.Builderinstances(Collection<String> instances)List of user-specified instances that must not be stopped.InstancesToExclude.Builderservices(Collection<AWSServiceName> services)Names of the services that own each instance that must not be stopped in order to free up the capacity needed to run the capacity task.InstancesToExclude.Builderservices(AWSServiceName... services)Names of the services that own each instance that must not be stopped in order to free up the capacity needed to run the capacity task.InstancesToExclude.BuilderservicesWithStrings(String... services)Names of the services that own each instance that must not be stopped in order to free up the capacity needed to run the capacity task.InstancesToExclude.BuilderservicesWithStrings(Collection<String> services)Names of the services that own each instance that must not be stopped in order to free up the capacity needed to run the capacity task.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
instances
InstancesToExclude.Builder instances(Collection<String> instances)
List of user-specified instances that must not be stopped.
- Parameters:
instances- List of user-specified instances that must not be stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
InstancesToExclude.Builder instances(String... instances)
List of user-specified instances that must not be stopped.
- Parameters:
instances- List of user-specified instances that must not be stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
InstancesToExclude.Builder accountIds(Collection<String> accountIds)
IDs of the accounts that own each instance that must not be stopped.
- Parameters:
accountIds- IDs of the accounts that own each instance that must not be stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
InstancesToExclude.Builder accountIds(String... accountIds)
IDs of the accounts that own each instance that must not be stopped.
- Parameters:
accountIds- IDs of the accounts that own each instance that must not be stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
servicesWithStrings
InstancesToExclude.Builder servicesWithStrings(Collection<String> services)
Names of the services that own each instance that must not be stopped in order to free up the capacity needed to run the capacity task.
- Parameters:
services- Names of the services that own each instance that must not be stopped in order to free up the capacity needed to run the capacity task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
servicesWithStrings
InstancesToExclude.Builder servicesWithStrings(String... services)
Names of the services that own each instance that must not be stopped in order to free up the capacity needed to run the capacity task.
- Parameters:
services- Names of the services that own each instance that must not be stopped in order to free up the capacity needed to run the capacity task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
InstancesToExclude.Builder services(Collection<AWSServiceName> services)
Names of the services that own each instance that must not be stopped in order to free up the capacity needed to run the capacity task.
- Parameters:
services- Names of the services that own each instance that must not be stopped in order to free up the capacity needed to run the capacity task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
InstancesToExclude.Builder services(AWSServiceName... services)
Names of the services that own each instance that must not be stopped in order to free up the capacity needed to run the capacity task.
- Parameters:
services- Names of the services that own each instance that must not be stopped in order to free up the capacity needed to run the capacity task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-