Class CreateVpcRequest

    • Constructor Detail

      • CreateVpcRequest

        public CreateVpcRequest()
        Default constructor for CreateVpcRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • CreateVpcRequest

        public CreateVpcRequest​(String cidrBlock)
        Constructs a new CreateVpcRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        cidrBlock - The network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.
    • Method Detail

      • setCidrBlock

        public void setCidrBlock​(String cidrBlock)

        The network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.

        Parameters:
        cidrBlock - The network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.
      • getCidrBlock

        public String getCidrBlock()

        The network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.

        Returns:
        The network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.
      • withCidrBlock

        public CreateVpcRequest withCidrBlock​(String cidrBlock)

        The network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.

        Parameters:
        cidrBlock - The network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceTenancy

        public void setInstanceTenancy​(String instanceTenancy)

        The tenancy options for instances launched into the VPC. For default, instances are launched with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For dedicated, instances are launched as dedicated tenancy instances by default. You can only launch instances with a tenancy of dedicated or host into a dedicated tenancy VPC.

        Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

        Default: default

        Parameters:
        instanceTenancy - The tenancy options for instances launched into the VPC. For default, instances are launched with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For dedicated, instances are launched as dedicated tenancy instances by default. You can only launch instances with a tenancy of dedicated or host into a dedicated tenancy VPC.

        Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

        Default: default

        See Also:
        Tenancy
      • getInstanceTenancy

        public String getInstanceTenancy()

        The tenancy options for instances launched into the VPC. For default, instances are launched with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For dedicated, instances are launched as dedicated tenancy instances by default. You can only launch instances with a tenancy of dedicated or host into a dedicated tenancy VPC.

        Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

        Default: default

        Returns:
        The tenancy options for instances launched into the VPC. For default, instances are launched with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For dedicated, instances are launched as dedicated tenancy instances by default. You can only launch instances with a tenancy of dedicated or host into a dedicated tenancy VPC.

        Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

        Default: default

        See Also:
        Tenancy
      • withInstanceTenancy

        public CreateVpcRequest withInstanceTenancy​(String instanceTenancy)

        The tenancy options for instances launched into the VPC. For default, instances are launched with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For dedicated, instances are launched as dedicated tenancy instances by default. You can only launch instances with a tenancy of dedicated or host into a dedicated tenancy VPC.

        Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

        Default: default

        Parameters:
        instanceTenancy - The tenancy options for instances launched into the VPC. For default, instances are launched with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For dedicated, instances are launched as dedicated tenancy instances by default. You can only launch instances with a tenancy of dedicated or host into a dedicated tenancy VPC.

        Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

        Default: default

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Tenancy
      • setInstanceTenancy

        public void setInstanceTenancy​(Tenancy instanceTenancy)

        The tenancy options for instances launched into the VPC. For default, instances are launched with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For dedicated, instances are launched as dedicated tenancy instances by default. You can only launch instances with a tenancy of dedicated or host into a dedicated tenancy VPC.

        Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

        Default: default

        Parameters:
        instanceTenancy - The tenancy options for instances launched into the VPC. For default, instances are launched with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For dedicated, instances are launched as dedicated tenancy instances by default. You can only launch instances with a tenancy of dedicated or host into a dedicated tenancy VPC.

        Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

        Default: default

        See Also:
        Tenancy
      • withInstanceTenancy

        public CreateVpcRequest withInstanceTenancy​(Tenancy instanceTenancy)

        The tenancy options for instances launched into the VPC. For default, instances are launched with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For dedicated, instances are launched as dedicated tenancy instances by default. You can only launch instances with a tenancy of dedicated or host into a dedicated tenancy VPC.

        Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

        Default: default

        Parameters:
        instanceTenancy - The tenancy options for instances launched into the VPC. For default, instances are launched with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For dedicated, instances are launched as dedicated tenancy instances by default. You can only launch instances with a tenancy of dedicated or host into a dedicated tenancy VPC.

        Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

        Default: default

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Tenancy
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object