Class ModifyVpcTenancyRequest

    • Method Detail

      • vpcId

        public final String vpcId()

        The ID of the VPC.

        Returns:
        The ID of the VPC.
      • instanceTenancy

        public final VpcTenancy instanceTenancy()

        The instance tenancy attribute for the VPC.

        If the service returns an enum value that is not available in the current SDK version, instanceTenancy will return VpcTenancy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from instanceTenancyAsString().

        Returns:
        The instance tenancy attribute for the VPC.
        See Also:
        VpcTenancy
      • instanceTenancyAsString

        public final String instanceTenancyAsString()

        The instance tenancy attribute for the VPC.

        If the service returns an enum value that is not available in the current SDK version, instanceTenancy will return VpcTenancy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from instanceTenancyAsString().

        Returns:
        The instance tenancy attribute for the VPC.
        See Also:
        VpcTenancy
      • dryRun

        public final Boolean dryRun()

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        Returns:
        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
      • 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.
        Overrides:
        toString in class Object