Interface MacModificationTask.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MacModificationTask.Builder,MacModificationTask>,SdkBuilder<MacModificationTask.Builder,MacModificationTask>,SdkPojo
- Enclosing class:
- MacModificationTask
@Mutable @NotThreadSafe public static interface MacModificationTask.Builder extends SdkPojo, CopyableBuilder<MacModificationTask.Builder,MacModificationTask>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MacModificationTask.BuilderinstanceId(String instanceId)The ID of the Amazon EC2 Mac instance.MacModificationTask.BuildermacModificationTaskId(String macModificationTaskId)The ID of task.default MacModificationTask.BuildermacSystemIntegrityProtectionConfig(Consumer<MacSystemIntegrityProtectionConfiguration.Builder> macSystemIntegrityProtectionConfig)[SIP modification tasks only] Information about the SIP configuration.MacModificationTask.BuildermacSystemIntegrityProtectionConfig(MacSystemIntegrityProtectionConfiguration macSystemIntegrityProtectionConfig)[SIP modification tasks only] Information about the SIP configuration.MacModificationTask.BuilderstartTime(Instant startTime)The date and time the task was created, in the UTC timezone (YYYY-MM-DDThh:mm:ss.sssZ).MacModificationTask.Buildertags(Collection<Tag> tags)The tags assigned to the task.MacModificationTask.Buildertags(Consumer<Tag.Builder>... tags)The tags assigned to the task.MacModificationTask.Buildertags(Tag... tags)The tags assigned to the task.MacModificationTask.BuildertaskState(String taskState)The state of the task.MacModificationTask.BuildertaskState(MacModificationTaskState taskState)The state of the task.MacModificationTask.BuildertaskType(String taskType)The type of task.MacModificationTask.BuildertaskType(MacModificationTaskType taskType)The type of task.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
instanceId
MacModificationTask.Builder instanceId(String instanceId)
The ID of the Amazon EC2 Mac instance.
- Parameters:
instanceId- The ID of the Amazon EC2 Mac instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
macModificationTaskId
MacModificationTask.Builder macModificationTaskId(String macModificationTaskId)
The ID of task.
- Parameters:
macModificationTaskId- The ID of task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
macSystemIntegrityProtectionConfig
MacModificationTask.Builder macSystemIntegrityProtectionConfig(MacSystemIntegrityProtectionConfiguration macSystemIntegrityProtectionConfig)
[SIP modification tasks only] Information about the SIP configuration.
- Parameters:
macSystemIntegrityProtectionConfig- [SIP modification tasks only] Information about the SIP configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
macSystemIntegrityProtectionConfig
default MacModificationTask.Builder macSystemIntegrityProtectionConfig(Consumer<MacSystemIntegrityProtectionConfiguration.Builder> macSystemIntegrityProtectionConfig)
[SIP modification tasks only] Information about the SIP configuration.
This is a convenience method that creates an instance of theMacSystemIntegrityProtectionConfiguration.Builderavoiding the need to create one manually viaMacSystemIntegrityProtectionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomacSystemIntegrityProtectionConfig(MacSystemIntegrityProtectionConfiguration).- Parameters:
macSystemIntegrityProtectionConfig- a consumer that will call methods onMacSystemIntegrityProtectionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
macSystemIntegrityProtectionConfig(MacSystemIntegrityProtectionConfiguration)
-
startTime
MacModificationTask.Builder startTime(Instant startTime)
The date and time the task was created, in the UTC timezone (
YYYY-MM-DDThh:mm:ss.sssZ).- Parameters:
startTime- The date and time the task was created, in the UTC timezone (YYYY-MM-DDThh:mm:ss.sssZ).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
MacModificationTask.Builder tags(Collection<Tag> tags)
The tags assigned to the task.
- Parameters:
tags- The tags assigned to the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
MacModificationTask.Builder tags(Tag... tags)
The tags assigned to the task.
- Parameters:
tags- The tags assigned to the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
MacModificationTask.Builder tags(Consumer<Tag.Builder>... tags)
The tags assigned to the task.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
taskState
MacModificationTask.Builder taskState(String taskState)
The state of the task.
- Parameters:
taskState- The state of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MacModificationTaskState,MacModificationTaskState
-
taskState
MacModificationTask.Builder taskState(MacModificationTaskState taskState)
The state of the task.
- Parameters:
taskState- The state of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MacModificationTaskState,MacModificationTaskState
-
taskType
MacModificationTask.Builder taskType(String taskType)
The type of task.
- Parameters:
taskType- The type of task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MacModificationTaskType,MacModificationTaskType
-
taskType
MacModificationTask.Builder taskType(MacModificationTaskType taskType)
The type of task.
- Parameters:
taskType- The type of task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MacModificationTaskType,MacModificationTaskType
-
-