/** * The type of change pending for the ActiveMQ user. * * @param pendingChange * The type of change pending for the ActiveMQ user. * @return Returns a reference to this object so that method calls can be chained together. * @see ChangeType */ public UserSummary withPendingChange(ChangeType pendingChange) { this.pendingChange = pendingChange.toString(); return this; }
/** * Required. The unique ID that Amazon MQ generates for the configuration. * * @param configurationId * Required. The unique ID that Amazon MQ generates for the configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeConfigurationRevisionResult withConfigurationId(String configurationId) { setConfigurationId(configurationId); return this; }
/** * The description of the configuration. * * @param description * The description of the configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeConfigurationRevisionResult withDescription(String description) { setDescription(description); return this; }
/** * Required. The ARN of the configuration. * * @param arn * Required. The ARN of the configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeConfigurationResult withArn(String arn) { setArn(arn); return this; }
/** * The attribute which caused the error. * * @param errorAttribute * The attribute which caused the error. * @return Returns a reference to this object so that method calls can be chained together. */ public ForbiddenException withErrorAttribute(String errorAttribute) { setErrorAttribute(errorAttribute); return this; }
/** * Required. The type of change pending for the ActiveMQ user. * * @param pendingChange * Required. The type of change pending for the ActiveMQ user. * @return Returns a reference to this object so that method calls can be chained together. * @see ChangeType */ public UserPendingChanges withPendingChange(String pendingChange) { setPendingChange(pendingChange); return this; }
/** * The parameters that determine the WeeklyStartTime. * * @param maintenanceWindowStartTime * The parameters that determine the WeeklyStartTime. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateBrokerRequest withMaintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime) { setMaintenanceWindowStartTime(maintenanceWindowStartTime); return this; }
/** * The unique ID that Amazon MQ generates for the configuration. * * @param configurationId * The unique ID that Amazon MQ generates for the configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public ListConfigurationRevisionsResult withConfigurationId(String configurationId) { setConfigurationId(configurationId); return this; }
/** * Required. The revision number of the configuration. * * @param revision * Required. The revision number of the configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public ConfigurationRevision withRevision(Integer revision) { setRevision(revision); return this; }
/** * The unique ID that Amazon MQ generates for the broker. * * @param brokerId * The unique ID that Amazon MQ generates for the broker. * @return Returns a reference to this object so that method calls can be chained together. */ public ListUsersRequest withBrokerId(String brokerId) { setBrokerId(brokerId); return this; }
/** * The list of all revisions for the specified configuration. * * @param configurations * The list of all revisions for the specified configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public ListConfigurationsResult withConfigurations(java.util.Collection<Configuration> configurations) { setConfigurations(configurations); return this; }
/** * The unique ID that Amazon MQ generates for the configuration. * * @param configurationId * The unique ID that Amazon MQ generates for the configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateConfigurationRequest withConfigurationId(String configurationId) { setConfigurationId(configurationId); return this; }
/** * Required. The day of the week. * * @param dayOfWeek * Required. The day of the week. * @return Returns a reference to this object so that method calls can be chained together. * @see DayOfWeek */ public WeeklyStartTime withDayOfWeek(String dayOfWeek) { setDayOfWeek(dayOfWeek); return this; }
/** * The time zone, UTC by default, in either the Country/City format, or the UTC offset format. * * @param timeZone * The time zone, UTC by default, in either the Country/City format, or the UTC offset format. * @return Returns a reference to this object so that method calls can be chained together. */ public WeeklyStartTime withTimeZone(String timeZone) { setTimeZone(timeZone); return this; }
/** * Enables general logging. * * @param general * Enables general logging. * @return Returns a reference to this object so that method calls can be chained together. */ public PendingLogs withGeneral(Boolean general) { setGeneral(general); return this; }
/** * Required. The Amazon Resource Name (ARN) of the configuration. * * @param arn * Required. The Amazon Resource Name (ARN) of the configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateConfigurationResult withArn(String arn) { setArn(arn); return this; }
/** * The unique ID that Amazon MQ generates for the broker. * * @param brokerId * The unique ID that Amazon MQ generates for the broker. * @return Returns a reference to this object so that method calls can be chained together. */ public RebootBrokerRequest withBrokerId(String brokerId) { setBrokerId(brokerId); return this; }
/** * Required. The deployment mode of the broker. * * @param deploymentMode * Required. The deployment mode of the broker. * @return Returns a reference to this object so that method calls can be chained together. * @see DeploymentMode */ public DescribeBrokerResult withDeploymentMode(String deploymentMode) { setDeploymentMode(deploymentMode); return this; }
/** * The list of all ActiveMQ usernames for the specified broker. * * @param users * The list of all ActiveMQ usernames for the specified broker. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBrokerResult withUsers(java.util.Collection<UserSummary> users) { setUsers(users); return this; }
/** * The location of the CloudWatch Logs log group where general logs are sent. * * @param generalLogGroup * The location of the CloudWatch Logs log group where general logs are sent. * @return Returns a reference to this object so that method calls can be chained together. */ public LogsSummary withGeneralLogGroup(String generalLogGroup) { setGeneralLogGroup(generalLogGroup); return this; }