/** * <p> * Whether the cluster is visible to all IAM users of the AWS account associated with the cluster. If this value is * set to <code>true</code>, all IAM users of that AWS account can view and (if they have the proper policy * permissions set) manage the cluster. If it is set to <code>false</code>, only the IAM user that created the * cluster can view and manage it. * </p> * * @param visibleToAllUsers * Whether the cluster is visible to all IAM users of the AWS account associated with the cluster. If this * value is set to <code>true</code>, all IAM users of that AWS account can view and (if they have the proper * policy permissions set) manage the cluster. If it is set to <code>false</code>, only the IAM user that * created the cluster can view and manage it. * @return Returns a reference to this object so that method calls can be chained together. */ public RunJobFlowRequest withVisibleToAllUsers(Boolean visibleToAllUsers) { setVisibleToAllUsers(visibleToAllUsers); return this; }
/** * <p> * Whether the cluster is visible to all IAM users of the AWS account associated with the cluster. If this value is * set to <code>true</code>, all IAM users of that AWS account can view and (if they have the proper policy * permissions set) manage the cluster. If it is set to <code>false</code>, only the IAM user that created the * cluster can view and manage it. * </p> * * @param visibleToAllUsers * Whether the cluster is visible to all IAM users of the AWS account associated with the cluster. If this * value is set to <code>true</code>, all IAM users of that AWS account can view and (if they have the proper * policy permissions set) manage the cluster. If it is set to <code>false</code>, only the IAM user that * created the cluster can view and manage it. * @return Returns a reference to this object so that method calls can be chained together. */ public RunJobFlowRequest withVisibleToAllUsers(Boolean visibleToAllUsers) { setVisibleToAllUsers(visibleToAllUsers); return this; }
runJobFlowRequest.setVisibleToAllUsers( true );
runJobFlowRequest.setVisibleToAllUsers(emrClusterDefinition.isVisibleToAll());
runJobFlowRequest.setVisibleToAllUsers(emrClusterDefinition.isVisibleToAll());