Interface ImageUsageResourceType.Builder

    • Method Detail

      • resourceType

        ImageUsageResourceType.Builder resourceType​(String resourceType)

        The resource type.

        Valid values: ec2:Instance | ec2:LaunchTemplate

        Parameters:
        resourceType - The resource type.

        Valid values: ec2:Instance | ec2:LaunchTemplate

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceTypeOptions

        ImageUsageResourceType.Builder resourceTypeOptions​(Collection<ImageUsageResourceTypeOption> resourceTypeOptions)

        The options that affect the scope of the report. Valid only when ResourceType is ec2:LaunchTemplate.

        Parameters:
        resourceTypeOptions - The options that affect the scope of the report. Valid only when ResourceType is ec2:LaunchTemplate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceTypeOptions

        ImageUsageResourceType.Builder resourceTypeOptions​(ImageUsageResourceTypeOption... resourceTypeOptions)

        The options that affect the scope of the report. Valid only when ResourceType is ec2:LaunchTemplate.

        Parameters:
        resourceTypeOptions - The options that affect the scope of the report. Valid only when ResourceType is ec2:LaunchTemplate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.