Interface UpdateProfileRequest.Builder

    • Method Detail

      • durationSeconds

        UpdateProfileRequest.Builder durationSeconds​(Integer durationSeconds)

        The number of seconds the vended session credentials are valid for.

        Parameters:
        durationSeconds - The number of seconds the vended session credentials are valid for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • managedPolicyArns

        UpdateProfileRequest.Builder managedPolicyArns​(Collection<String> managedPolicyArns)

        A list of managed policy ARNs that apply to the vended session credentials.

        Parameters:
        managedPolicyArns - A list of managed policy ARNs that apply to the vended session credentials.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • managedPolicyArns

        UpdateProfileRequest.Builder managedPolicyArns​(String... managedPolicyArns)

        A list of managed policy ARNs that apply to the vended session credentials.

        Parameters:
        managedPolicyArns - A list of managed policy ARNs that apply to the vended session credentials.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        UpdateProfileRequest.Builder name​(String name)

        The name of the profile.

        Parameters:
        name - The name of the profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • profileId

        UpdateProfileRequest.Builder profileId​(String profileId)

        The unique identifier of the profile.

        Parameters:
        profileId - The unique identifier of the profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArns

        UpdateProfileRequest.Builder roleArns​(Collection<String> roleArns)

        A list of IAM roles that this profile can assume in a temporary credential request.

        Parameters:
        roleArns - A list of IAM roles that this profile can assume in a temporary credential request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArns

        UpdateProfileRequest.Builder roleArns​(String... roleArns)

        A list of IAM roles that this profile can assume in a temporary credential request.

        Parameters:
        roleArns - A list of IAM roles that this profile can assume in a temporary credential request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sessionPolicy

        UpdateProfileRequest.Builder sessionPolicy​(String sessionPolicy)

        A session policy that applies to the trust boundary of the vended session credentials.

        Parameters:
        sessionPolicy - A session policy that applies to the trust boundary of the vended session credentials.
        Returns:
        Returns a reference to this object so that method calls can be chained together.