forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 0d8c9dfa424aaea0b1919d7eb4e33bcd3e34e4d1
Support encryption in transit feature: Add a property when creating a cluster
- Loading branch information
SDK Automation
committed
Jun 29, 2020
1 parent
7a511f0
commit cfb64b2
Showing
4 changed files
with
122 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
...crosoft/azure/management/hdinsight/v2018_06_01_preview/EncryptionInTransitProperties.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.hdinsight.v2018_06_01_preview; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* The encryption-in-transit properties. | ||
*/ | ||
public class EncryptionInTransitProperties { | ||
/** | ||
* Indicates whether or not inter cluster node communication is encrypted | ||
* in transit. | ||
*/ | ||
@JsonProperty(value = "isEncryptionInTransitEnabled") | ||
private Boolean isEncryptionInTransitEnabled; | ||
|
||
/** | ||
* Get indicates whether or not inter cluster node communication is encrypted in transit. | ||
* | ||
* @return the isEncryptionInTransitEnabled value | ||
*/ | ||
public Boolean isEncryptionInTransitEnabled() { | ||
return this.isEncryptionInTransitEnabled; | ||
} | ||
|
||
/** | ||
* Set indicates whether or not inter cluster node communication is encrypted in transit. | ||
* | ||
* @param isEncryptionInTransitEnabled the isEncryptionInTransitEnabled value to set | ||
* @return the EncryptionInTransitProperties object itself. | ||
*/ | ||
public EncryptionInTransitProperties withIsEncryptionInTransitEnabled(Boolean isEncryptionInTransitEnabled) { | ||
this.isEncryptionInTransitEnabled = isEncryptionInTransitEnabled; | ||
return this; | ||
} | ||
|
||
} |