Class CapacityProvider
- java.lang.Object
-
- software.amazon.awssdk.services.lambda.model.CapacityProvider
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CapacityProvider.Builder,CapacityProvider>
@Generated("software.amazon.awssdk:codegen") public final class CapacityProvider extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CapacityProvider.Builder,CapacityProvider>
A capacity provider manages compute resources for Lambda functions.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCapacityProvider.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CapacityProvider.Builderbuilder()StringcapacityProviderArn()The Amazon Resource Name (ARN) of the capacity provider.CapacityProviderScalingConfigcapacityProviderScalingConfig()The scaling configuration for the capacity provider.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstanceRequirementsinstanceRequirements()The instance requirements for compute resources managed by the capacity provider.StringkmsKeyArn()The ARN of the KMS key used to encrypt the capacity provider's resources.StringlastModified()The date and time when the capacity provider was last modified.CapacityProviderPermissionsConfigpermissionsConfig()The permissions configuration for the capacity provider.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CapacityProvider.Builder>serializableBuilderClass()CapacityProviderStatestate()The current state of the capacity provider.StringstateAsString()The current state of the capacity provider.CapacityProvider.BuildertoBuilder()StringtoString()Returns a string representation of this object.CapacityProviderVpcConfigvpcConfig()The VPC configuration for the capacity provider.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
capacityProviderArn
public final String capacityProviderArn()
The Amazon Resource Name (ARN) of the capacity provider.
- Returns:
- The Amazon Resource Name (ARN) of the capacity provider.
-
state
public final CapacityProviderState state()
The current state of the capacity provider.
If the service returns an enum value that is not available in the current SDK version,
statewill returnCapacityProviderState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The current state of the capacity provider.
- See Also:
CapacityProviderState
-
stateAsString
public final String stateAsString()
The current state of the capacity provider.
If the service returns an enum value that is not available in the current SDK version,
statewill returnCapacityProviderState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The current state of the capacity provider.
- See Also:
CapacityProviderState
-
vpcConfig
public final CapacityProviderVpcConfig vpcConfig()
The VPC configuration for the capacity provider.
- Returns:
- The VPC configuration for the capacity provider.
-
permissionsConfig
public final CapacityProviderPermissionsConfig permissionsConfig()
The permissions configuration for the capacity provider.
- Returns:
- The permissions configuration for the capacity provider.
-
instanceRequirements
public final InstanceRequirements instanceRequirements()
The instance requirements for compute resources managed by the capacity provider.
- Returns:
- The instance requirements for compute resources managed by the capacity provider.
-
capacityProviderScalingConfig
public final CapacityProviderScalingConfig capacityProviderScalingConfig()
The scaling configuration for the capacity provider.
- Returns:
- The scaling configuration for the capacity provider.
-
kmsKeyArn
public final String kmsKeyArn()
The ARN of the KMS key used to encrypt the capacity provider's resources.
- Returns:
- The ARN of the KMS key used to encrypt the capacity provider's resources.
-
lastModified
public final String lastModified()
The date and time when the capacity provider was last modified.
- Returns:
- The date and time when the capacity provider was last modified.
-
toBuilder
public CapacityProvider.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CapacityProvider.Builder,CapacityProvider>
-
builder
public static CapacityProvider.Builder builder()
-
serializableBuilderClass
public static Class<? extends CapacityProvider.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-