Class AwsActivationOptions


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2024-03-13T13:08:45.683-07:00")
    public class AwsActivationOptions
    extends Object
    Options for activating an AWS environment.
    • Constructor Detail

      • AwsActivationOptions

        public AwsActivationOptions()
    • Method Detail

      • getWorkerSubnetIds

        public List<String> getWorkerSubnetIds()
        Getter for workerSubnetIds. IDs of AWS subnets where the cluster worker nodes should be deployed.
      • setWorkerSubnetIds

        public void setWorkerSubnetIds​(List<String> workerSubnetIds)
        Setter for workerSubnetIds. IDs of AWS subnets where the cluster worker nodes should be deployed.
      • getLbSubnetIds

        public List<String> getLbSubnetIds()
        Getter for lbSubnetIds. IDs of AWS subnets where the cluster load balancer should be deployed.
      • setLbSubnetIds

        public void setLbSubnetIds​(List<String> lbSubnetIds)
        Setter for lbSubnetIds. IDs of AWS subnets where the cluster load balancer should be deployed.
      • getCustomAmiId

        public String getCustomAmiId()
        Getter for customAmiId. Custom AMI ID.
      • setCustomAmiId

        public void setCustomAmiId​(String customAmiId)
        Setter for customAmiId. Custom AMI ID.
      • getNodeRoleCDWManagedPolicyArn

        public String getNodeRoleCDWManagedPolicyArn()
        Getter for nodeRoleCDWManagedPolicyArn. Managed Policy Arn to be attached to the Node Instance Role.
      • setNodeRoleCDWManagedPolicyArn

        public void setNodeRoleCDWManagedPolicyArn​(String nodeRoleCDWManagedPolicyArn)
        Setter for nodeRoleCDWManagedPolicyArn. Managed Policy Arn to be attached to the Node Instance Role.
      • getEnableSpotInstances

        public Boolean getEnableSpotInstances()
        Getter for enableSpotInstances. Whether to enable Spot instances for Virtual warehouses. It cannot be updated later. If the aws-options is not provided it defaults to false.
      • setEnableSpotInstances

        public void setEnableSpotInstances​(Boolean enableSpotInstances)
        Setter for enableSpotInstances. Whether to enable Spot instances for Virtual warehouses. It cannot be updated later. If the aws-options is not provided it defaults to false.
      • getReducedPermissionMode

        public Boolean getReducedPermissionMode()
        Getter for reducedPermissionMode. Use this option to activate the environment with fewer than half of the standard required IAM permissions on your AWS cross-account IAM role.
      • setReducedPermissionMode

        public void setReducedPermissionMode​(Boolean reducedPermissionMode)
        Setter for reducedPermissionMode. Use this option to activate the environment with fewer than half of the standard required IAM permissions on your AWS cross-account IAM role.
      • getComputeInstanceTypes

        public List<String> getComputeInstanceTypes()
        Getter for computeInstanceTypes. AWS compute instance types that the environment is restricted to use. This affects the creation of virtual warehouses where this restriction will apply. Select an instance type that meets your computing, memory, networking, or storage needs. As of now, only a single instance type can be listed. Use describe-allowed-instance-types to see currently possible values.
      • setComputeInstanceTypes

        public void setComputeInstanceTypes​(List<String> computeInstanceTypes)
        Setter for computeInstanceTypes. AWS compute instance types that the environment is restricted to use. This affects the creation of virtual warehouses where this restriction will apply. Select an instance type that meets your computing, memory, networking, or storage needs. As of now, only a single instance type can be listed. Use describe-allowed-instance-types to see currently possible values.
      • getAdditionalInstanceTypes

        public List<String> getAdditionalInstanceTypes()
        Getter for additionalInstanceTypes. Additional (fallback) instance types listed in their priority order. They will be used instead of the primary compute instance type in case it is unavailable. You cannot include any instance type that was already indicated in computeInstanceTypes. Use describe-allowed-instance-types to see currently supported values and also the default value when nothing is provided for the computeInstanceTypes.
      • setAdditionalInstanceTypes

        public void setAdditionalInstanceTypes​(List<String> additionalInstanceTypes)
        Setter for additionalInstanceTypes. Additional (fallback) instance types listed in their priority order. They will be used instead of the primary compute instance type in case it is unavailable. You cannot include any instance type that was already indicated in computeInstanceTypes. Use describe-allowed-instance-types to see currently supported values and also the default value when nothing is provided for the computeInstanceTypes.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object