Interface MacModificationTask.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<MacModificationTask.Builder,,- MacModificationTask> - SdkBuilder<MacModificationTask.Builder,,- MacModificationTask> - SdkPojo
- Enclosing class:
- MacModificationTask
- 
Method SummaryModifier and TypeMethodDescriptioninstanceId(String instanceId) The ID of the Amazon EC2 Mac instance.macModificationTaskId(String macModificationTaskId) The ID of task.default MacModificationTask.BuildermacSystemIntegrityProtectionConfig(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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
instanceIdThe 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.
 
- 
macModificationTaskIdThe ID of task. - Parameters:
- macModificationTaskId- The ID of task.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
macSystemIntegrityProtectionConfigMacModificationTask.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.
 
- 
macSystemIntegrityProtectionConfigdefault 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 on- MacSystemIntegrityProtectionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
startTimeThe 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.
 
- 
tagsThe 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.
 
- 
tagsThe 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.
 
- 
tagsThe 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 totags(List<Tag>).- Parameters:
- tags- a consumer that will call methods on- Tag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
taskStateThe 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:
 
- 
taskStateThe 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:
 
- 
taskTypeThe 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:
 
- 
taskTypeThe 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:
 
 
-