Interface MacModificationTask.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MacModificationTask.Builder,
,MacModificationTask> SdkBuilder<MacModificationTask.Builder,
,MacModificationTask> SdkPojo
- Enclosing class:
MacModificationTask
-
Method Summary
Modifier and TypeMethodDescriptioninstanceId
(String instanceId) The ID of the Amazon EC2 Mac instance.macModificationTaskId
(String macModificationTaskId) The ID of task.default MacModificationTask.Builder
macSystemIntegrityProtectionConfig
(Consumer<MacSystemIntegrityProtectionConfiguration.Builder> macSystemIntegrityProtectionConfig) [SIP modification tasks only] Information about the SIP configuration.macSystemIntegrityProtectionConfig
(MacSystemIntegrityProtectionConfiguration macSystemIntegrityProtectionConfig) [SIP modification tasks only] Information about the SIP configuration.The date and time the task was created, in the UTC timezone (YYYY-MM-DDThh:mm:ss.sssZ
).tags
(Collection<Tag> tags) The tags assigned to the task.tags
(Consumer<Tag.Builder>... tags) The tags assigned to the task.The tags assigned to the task.The state of the task.taskState
(MacModificationTaskState taskState) The state of the task.The type of task.taskType
(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 Details
-
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
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.Builder
avoiding the need to create one manually viaMacSystemIntegrityProtectionConfiguration.builder()
.When the
Consumer
completes,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:
-
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
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
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
The tags assigned to the task.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- 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:
-
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:
-
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:
-
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:
-
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:
-