Interface DescribeImageAttributeRequest.Builder

    • Method Detail

      • attribute

        DescribeImageAttributeRequest.Builder attribute​(String attribute)

        The AMI attribute.

        Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the Client.AuthFailure error. To get information about the block device mappings for an AMI, use the DescribeImages action.

        Parameters:
        attribute - The AMI attribute.

        Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the Client.AuthFailure error. To get information about the block device mappings for an AMI, use the DescribeImages action.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ImageAttributeName, ImageAttributeName
      • attribute

        DescribeImageAttributeRequest.Builder attribute​(ImageAttributeName attribute)

        The AMI attribute.

        Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the Client.AuthFailure error. To get information about the block device mappings for an AMI, use the DescribeImages action.

        Parameters:
        attribute - The AMI attribute.

        Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the Client.AuthFailure error. To get information about the block device mappings for an AMI, use the DescribeImages action.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ImageAttributeName, ImageAttributeName
      • imageId

        DescribeImageAttributeRequest.Builder imageId​(String imageId)

        The ID of the AMI.

        Parameters:
        imageId - The ID of the AMI.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dryRun

        DescribeImageAttributeRequest.Builder dryRun​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.