Interface GetRoleResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetRoleResponse.Builder,GetRoleResponse>, IamResponse.Builder, SdkBuilder<GetRoleResponse.Builder,GetRoleResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetRoleResponse

public static interface GetRoleResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<GetRoleResponse.Builder,GetRoleResponse>
  • Method Details

    • role

      A structure containing details about the IAM role.

      Parameters:
      role - A structure containing details about the IAM role.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • role

      A structure containing details about the IAM role.

      This is a convenience method that creates an instance of the Role.Builder avoiding the need to create one manually via Role.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to role(Role).

      Parameters:
      role - a consumer that will call methods on Role.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: