JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.identitymanagement.model

Class InstanceProfile

    • Constructor Detail

      • InstanceProfile

        public InstanceProfile()
    • Method Detail

      • setPath

        public void setPath(String path)

        The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.

        Parameters:
        path - The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.
      • getPath

        public String getPath()

        The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.

        Returns:
        The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.
      • withPath

        public InstanceProfile withPath(String path)

        The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.

        Parameters:
        path - The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceProfileName

        public void setInstanceProfileName(String instanceProfileName)

        The name identifying the instance profile.

        Parameters:
        instanceProfileName - The name identifying the instance profile.
      • getInstanceProfileName

        public String getInstanceProfileName()

        The name identifying the instance profile.

        Returns:
        The name identifying the instance profile.
      • withInstanceProfileName

        public InstanceProfile withInstanceProfileName(String instanceProfileName)

        The name identifying the instance profile.

        Parameters:
        instanceProfileName - The name identifying the instance profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceProfileId

        public void setInstanceProfileId(String instanceProfileId)

        The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.

        Parameters:
        instanceProfileId - The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.
      • getInstanceProfileId

        public String getInstanceProfileId()

        The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.

        Returns:
        The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.
      • withInstanceProfileId

        public InstanceProfile withInstanceProfileId(String instanceProfileId)

        The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.

        Parameters:
        instanceProfileId - The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setArn

        public void setArn(String arn)

        The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.

        Parameters:
        arn - The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.
      • getArn

        public String getArn()

        The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.

        Returns:
        The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.
      • withArn

        public InstanceProfile withArn(String arn)

        The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.

        Parameters:
        arn - The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCreateDate

        public void setCreateDate(Date createDate)

        The date when the instance profile was created.

        Parameters:
        createDate - The date when the instance profile was created.
      • getCreateDate

        public Date getCreateDate()

        The date when the instance profile was created.

        Returns:
        The date when the instance profile was created.
      • withCreateDate

        public InstanceProfile withCreateDate(Date createDate)

        The date when the instance profile was created.

        Parameters:
        createDate - The date when the instance profile was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getRoles

        public List<Role> getRoles()

        The role associated with the instance profile.

        Returns:
        The role associated with the instance profile.
      • setRoles

        public void setRoles(Collection<Role> roles)

        The role associated with the instance profile.

        Parameters:
        roles - The role associated with the instance profile.
      • withRoles

        public InstanceProfile withRoles(Role... roles)

        The role associated with the instance profile.

        NOTE: This method appends the values to the existing list (if any). Use setRoles(java.util.Collection) or withRoles(java.util.Collection) if you want to override the existing values.

        Parameters:
        roles - The role associated with the instance profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withRoles

        public InstanceProfile withRoles(Collection<Role> roles)

        The role associated with the instance profile.

        Parameters:
        roles - The role associated with the instance profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        public List<Tag> getTags()

        A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

        Returns:
        A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
      • setTags

        public void setTags(Collection<Tag> tags)

        A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

        Parameters:
        tags - A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
      • withTags

        public InstanceProfile withTags(Tag... tags)

        A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

        NOTE: This method appends the values to the existing list (if any). Use setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the existing values.

        Parameters:
        tags - A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTags

        public InstanceProfile withTags(Collection<Tag> tags)

        A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

        Parameters:
        tags - A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /