Interface AwsIamRoleDetails.Builder

    • Method Detail

      • assumeRolePolicyDocument

        AwsIamRoleDetails.Builder assumeRolePolicyDocument​(String assumeRolePolicyDocument)

        The trust policy that grants permission to assume the role.

        Parameters:
        assumeRolePolicyDocument - The trust policy that grants permission to assume the role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attachedManagedPolicies

        AwsIamRoleDetails.Builder attachedManagedPolicies​(Collection<AwsIamAttachedManagedPolicy> attachedManagedPolicies)

        The list of the managed policies that are attached to the role.

        Parameters:
        attachedManagedPolicies - The list of the managed policies that are attached to the role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attachedManagedPolicies

        AwsIamRoleDetails.Builder attachedManagedPolicies​(AwsIamAttachedManagedPolicy... attachedManagedPolicies)

        The list of the managed policies that are attached to the role.

        Parameters:
        attachedManagedPolicies - The list of the managed policies that are attached to the role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createDate

        AwsIamRoleDetails.Builder createDate​(String createDate)

        Indicates when the role was created.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        Parameters:
        createDate - Indicates when the role was created.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

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

        AwsIamRoleDetails.Builder instanceProfileList​(Collection<AwsIamInstanceProfile> instanceProfileList)

        The list of instance profiles that contain this role.

        Parameters:
        instanceProfileList - The list of instance profiles that contain this role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceProfileList

        AwsIamRoleDetails.Builder instanceProfileList​(AwsIamInstanceProfile... instanceProfileList)

        The list of instance profiles that contain this role.

        Parameters:
        instanceProfileList - The list of instance profiles that contain this role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • permissionsBoundary

        AwsIamRoleDetails.Builder permissionsBoundary​(AwsIamPermissionsBoundary permissionsBoundary)
        Sets the value of the PermissionsBoundary property for this object.
        Parameters:
        permissionsBoundary - The new value for the PermissionsBoundary property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleId

        AwsIamRoleDetails.Builder roleId​(String roleId)

        The stable and unique string identifying the role.

        Parameters:
        roleId - The stable and unique string identifying the role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleName

        AwsIamRoleDetails.Builder roleName​(String roleName)

        The friendly name that identifies the role.

        Parameters:
        roleName - The friendly name that identifies the role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rolePolicyList

        AwsIamRoleDetails.Builder rolePolicyList​(Collection<AwsIamRolePolicy> rolePolicyList)

        The list of inline policies that are embedded in the role.

        Parameters:
        rolePolicyList - The list of inline policies that are embedded in the role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rolePolicyList

        AwsIamRoleDetails.Builder rolePolicyList​(AwsIamRolePolicy... rolePolicyList)

        The list of inline policies that are embedded in the role.

        Parameters:
        rolePolicyList - The list of inline policies that are embedded in the role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxSessionDuration

        AwsIamRoleDetails.Builder maxSessionDuration​(Integer maxSessionDuration)

        The maximum session duration (in seconds) that you want to set for the specified role.

        Parameters:
        maxSessionDuration - The maximum session duration (in seconds) that you want to set for the specified role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • path

        AwsIamRoleDetails.Builder path​(String path)

        The path to the role.

        Parameters:
        path - The path to the role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.